robert2206 8ad867f7a5 commit inicial | 8 years ago | |
---|---|---|
.. | ||
index.js | 8 years ago | |
package.json | 8 years ago | |
readme.md | 8 years ago |
Ponyfill for Error.captureStackTrace
$ npm install --save capture-stack-trace
var captureStackTrace = require('capture-stack-trace');
captureStackTrace({});
// => {stack: ...}
Required
Type: Object
Target Object, that will recieve stack property.
MIT © Vsevolod Strukchinsky