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