Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/brendanashworth/stacktracer

Node.js stacktracing library
https://github.com/brendanashworth/stacktracer

Last synced: 9 days ago
JSON representation

Node.js stacktracing library

Awesome Lists containing this project

README

        

stacktracer
-----

![Stacktracer NPM](https://nodei.co/npm/stacktracer.png)

> Stacktracer is an NPM library for retrieving the stacktrace of the current code (without pausing, stopping, or killing execution).

### Installation
```bash
$ npm install stacktracer --save
```

### Example Usage
[Or here](./example.js). Just the raw stack trace is available right now.
```javascript
var stacktracer = require('stacktracer');

var trace = stacktracer.getRawTrace();

console.log(trace);
```

### License
[MIT license](./LICENSE)