https://github.com/lsongdev/superror
🚨Error stack parser and printer
https://github.com/lsongdev/superror
error-stack error-stack-trace
Last synced: 7 months ago
JSON representation
🚨Error stack parser and printer
- Host: GitHub
- URL: https://github.com/lsongdev/superror
- Owner: lsongdev
- License: mit
- Created: 2019-06-13T02:58:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-09T12:46:33.000Z (about 3 years ago)
- Last Synced: 2025-06-14T13:01:57.098Z (8 months ago)
- Topics: error-stack, error-stack-trace
- Language: JavaScript
- Homepage: https://npmjs.org/superror
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## superror
> error stack parser and printer
[](https://npmjs.org/superror)
[](https://travis-ci.org/song940/superror)
### Installation
```bash
$ npm install superror --save
```
### Example
```js
const { parseStackTrace } = require('superror');
const err = new Error('BOOM!');
const stack = parseStackTrace(err.stack);
console.log(stack);
```

### 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](./LICENSE).
---