/stacktracer

Node.js stacktracing library

Primary LanguageJavaScriptMIT LicenseMIT

stacktracer

Stacktracer NPM

Stacktracer is an NPM library for retrieving the stacktrace of the current code (without pausing, stopping, or killing execution).

Installation

$ npm install stacktracer --save

Example Usage

Or here. Just the raw stack trace is available right now.

var stacktracer = require('stacktracer');

var trace = stacktracer.getRawTrace();

console.log(trace);

License

MIT license