|
|
3 年之前 | |
|---|---|---|
| .. | ||
| index.js | 3 年之前 | |
| license | 3 年之前 | |
| package.json | 3 年之前 | |
| readme.md | 3 年之前 | |
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