{"library":"error-polyfill","type":"library","category":null,"description":"The `error-polyfill` package provides a polyfill for the V8 Stack Trace API, enabling functionalities like `Error.captureStackTrace` and `Error.prepareStackTrace` in non-V8 JavaScript environments. It aims to standardize how stack traces are generated and accessed across various engines and browsers, including older versions of Node.js, Chrome, Firefox, Internet Explorer, and PhantomJS. The current stable version is 0.1.3, suggesting an early stage of development and a lack of recent updates. A key differentiator is the `Error.getStackTrace` utility, which is recommended for reliably accessing formatted stack traces, as direct `throwable.stack` access might be inconsistent or unformatted in polyfilled environments. The library explicitly requires ES5 support to function.","language":"javascript","status":"abandoned","version":"0.1.3","tags":["javascript","error","stack trace","polyfill","v8","Error.captureStackTrace","Error.prepareStackTrace","stack"],"last_verified":"Wed May 27","install":[{"cmd":"npm install error-polyfill","imports":["require(\"error-polyfill\");","Error.captureStackTrace(this, this.constructor);","Error.getStackTrace(error);"]},{"cmd":"yarn add error-polyfill","imports":[]},{"cmd":"pnpm add error-polyfill","imports":[]}],"homepage":null,"github":"https://github.com/inf3rno/error-polyfill","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/error-polyfill","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/error-polyfill/compatibility"}}