stacky

v1.3.1
Stacky parses stack traces from various sources, and formats them in readable ways.
stack trace error stack parser trace parser

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,
  }
  ...
]
npm i stacky

Metadata

Downloads