https://github.com/mehcode/node-short-stack
Elegant and delicious stack traces for node.
https://github.com/mehcode/node-short-stack
Last synced: 12 months ago
JSON representation
Elegant and delicious stack traces for node.
- Host: GitHub
- URL: https://github.com/mehcode/node-short-stack
- Owner: mehcode
- License: mit
- Created: 2015-08-27T17:24:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-27T21:35:31.000Z (over 10 years ago)
- Last Synced: 2025-01-23T12:46:40.124Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# short-stack
## Install
```sh
$ npm install short-stack
```
## Usage
```js
if (process.env.NODE_ENV !== "production") {
require("short-stack")({
builtin: false, // hide frames within builtin modules (process,domain,etc.)
async: true, // collect asynchronous stack traces (with stackup)
include: [ // whitelist for stack frames (that are not built-in modules)
__dirname + "./src"
]
})
}
```