Preparing for system design interviews?  Try bugzed.com →

Error Polyfill for V8 Stack Trace API

JSON →
library 0.1.3 ·javascript abandoned
verified Jun 17, 2026

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.

total hits 17
actors 4 distinct systems
last hit 17d ago AhrefsBot
ByteDance
5
GPTBot
4
Script
1
Humans
4

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇹🇷 Turkey · CL