Submit
Path:
~
/
/
proc
/
self
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
capture-stack-trace
/
File Content:
readme.md
# capture-stack-trace [](https://travis-ci.org/floatdrop/capture-stack-trace) > Ponyfill for Error.captureStackTrace ## Install ``` $ npm install --save capture-stack-trace ``` ## Usage ```js var captureStackTrace = require('capture-stack-trace'); captureStackTrace({}); // => {stack: ...} ``` ## API ### captureStackTrace(error) #### error *Required* Type: `Object` Target Object, that will recieve stack property. ## License MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
index.js
330 bytes
0644
package.json
1615 bytes
0644
readme.md
591 bytes
0644
N4ST4R_ID | Naxtarrr