Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Latest commit

 

History

History
30 lines (21 loc) · 592 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 592 Bytes

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