Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jarusified/node-trace-func

A Function stack in node.js using JavaScriptStackTraceApi
https://github.com/jarusified/node-trace-func

Last synced: 5 days ago
JSON representation

A Function stack in node.js using JavaScriptStackTraceApi

Awesome Lists containing this project

README

        

#node-trace-func

A Function stack in node.js using JavaScriptStackTraceApi

# Install:

npm install trace-func

# Example:

```js
var stack = require('trace-func');
foo();
function foo() {
bar();
}
function bar() {
baz();
}
function baz() {
qux();
}
function qux(){
quux();
}
function quux(){
stack(); // call stack
}
```
# Output-format
Function Name location [row,column]