stacky

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

BSD-3-Clause 12 个版本
安装
npm install stacky
yarn add stacky
pnpm add stacky
bun add stacky
README

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,
  }
  ...
]
版本列表
1.3.1 2015-12-03
1.3.0 2015-12-03
1.2.5 2015-11-18
1.2.3 2015-08-20
1.2.2 2015-04-08
1.2.1 2015-04-02
1.2.0 2014-11-24
1.1.2 2014-10-13
1.1.1 2014-09-30
1.1.0 2014-09-30
1.0.1 2014-08-28
1.0.0 2014-08-28