An open API service indexing awesome lists of open source software.

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.

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"
]
})
}
```