npm.io
1.3.1 • Published 10 years ago

stacky

Licence
BSD-3-Clause
Version
1.3.1
Deps
2
Vulns
6
Weekly
0
Stars
74

NPM version Build Status

Stacky

Formatting

stacky.pretty(error.stack):

Example Pretty 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,
  }
  ...
]

Keywords