Skip to content
JS
Package

error-cause

An ES-spec-compliant shim/polyfill/replacement for the `.cause` property on all Error types that works as far down as ES3

v1.0.9, 12 Sept 2025MITCommonJSTypes: NonePolyfills and shims
$ npm install error-cause

Key numbers

As of 25 Sept 2026
Weekly downloads
40.1k
-1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
8
Direct, from package.json
Last release
1 year ago
v1.0.9
GitHub stars
19
3 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 72.6k (23 Sept 2025)Low 12.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

40,081 downloads last week, 199,814 in the last month. The 12-month change of -1% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.9, 12 Sept 20251 year ago
First published
-
Last push to GitHub
30 Dec 2025269 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
14

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
32 kB
Dependencies (8)
call-bindes-errorsset-protoglobalthises-abstractdefine-propertieses-aggregate-errorhas-property-descriptors
npm install error-cause
  • jsDelivrhttps://cdn.jsdelivr.net/npm/error-cause@1.0.9/
  • unpkghttps://unpkg.com/error-cause@1.0.9/
  • esm.shhttps://esm.sh/error-cause@1.0.9
PackageWeekly downloadsGzipLast releaseModuleComparison
weakmap-polyfill1m-5 years agoCommonJS-
@thednp/dommatrix182k-22 days agoESM + CommonJS-
map-like23.5k-9 years agoCommonJS-
object_values18k-9 years agoCommonJS-
object-keys79.8m-7 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.