robert2206 8ad867f7a5 commit inicial | il y a 8 ans | |
---|---|---|
.. | ||
index.js | il y a 8 ans | |
package.json | il y a 8 ans | |
readme.md | il y a 8 ans |
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