File manager - Edit - /opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/node_modules.bundled/capture-stack-trace/readme.md
Back
# 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)
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings