Stacktracer is an NPM library for retrieving the stacktrace of the current code (without pausing, stopping, or killing execution).
$ npm install stacktracer --save
Or here. Just the raw stack trace is available right now.
var stacktracer = require('stacktracer');
var trace = stacktracer.getRawTrace();
console.log(trace);