Stacky
Formatting
stacky.pretty(error.stack)
:
pretty
Provides several options allowing you to tweak the output format to your liking.
Parsing
stacky.parse(error.stack)
:
[
{
method: 'thingCalled',
location: 'some/file.js',
line: 1,
column: 2,
}
...
]