Preparing for system design interviews?  Try bugzed.com →

es-errors

JSON →
library 1.3.0 ·javascript
verified Jun 7, 2026

A minimal utility package (v1.3.0) that provides cached references to native JavaScript Error constructors: Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, URIError. It exposes these via separate entry points to allow tree-shaking and avoid bundling unused constructors. Maintained by ljharb, with TypeScript types included. No dependencies, works with Node >= 0.4. Unique for being an extremely lightweight (≈ 1KB) alternative to heavier error polyfill libraries, with a focus on correctness and stable caching.

total hits 9
actors 2 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇫🇷 France · 🇧🇷 Brazil · 🇨🇦 Canada