@trenskow/stack
v0.2.0
Published
Get the current stack trace as an array (V8 only).
Downloads
39
Maintainers
Readme
@trenskow/stack
Gets the current stack as an array.
Usage
const stack = require('@trenskow/stack');
const s = stack();
Returns an array of objects with the function
, file
, line
, character
keys.
License
See LICENSE