Skip to content

song940/superror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

superror

error stack parser and printer

superror Build Status

Installation

$ npm install superror --save

Example

const { parseStackTrace } = require('superror');

const err = new Error('BOOM!');

const stack = parseStackTrace(err.stack);

console.log(stack);

image

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

MIT

This work is licensed under the MIT license.