Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
index.js | 2 years ago | |
license | 2 years ago | |
package.json | 2 years ago | |
readme.md | 2 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