包详细信息

stacky

PolymerLabs21.1kBSD-3-Clause1.3.1

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

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