{"library":"es-errors","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.3.0","tags":["javascript","ecmascript","error","typeerror","syntaxerror","rangeerror","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install es-errors","imports":["import Base from 'es-errors'","import Type from 'es-errors/type'","const Range = require('es-errors/range')"]},{"cmd":"yarn add es-errors","imports":[]},{"cmd":"pnpm add es-errors","imports":[]}],"homepage":"https://github.com/ljharb/es-errors#readme","github":"https://github.com/ljharb/es-errors","docs":null,"changelog":null,"pypi":null,"npm":"es-errors","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}