Stacky parses stack traces from various sources, and formats them in readable ways.


Keywords
stack, trace, error, stack parser, trace parser
License
BSD-3-Clause
Install
npm install stacky@1.3.1

Documentation

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