backtrace-node is available as an
npm package with the same name or from https://github.com/backtrace-labs/backtrace-node.
var bt = require('backtrace-node');
bt.report(new Error("something broke"));
For more advanced usage or to learn more about
backtrace-node, see the official package documentation at https://github.com/backtrace-labs/backtrace-node#readme