Skip to content
JS
Package

modern-errors

Handle errors in a simple, stable, consistent way

v7.1.4, 9 Oct 2025MITESM onlyTypes: BundledDOM and browser utilitiesTypeScript tooling
$ npm install modern-errors

Key numbers

As of 25 Sept 2026
Weekly downloads
4.1k
-35% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
10
Direct, from package.json
Last release
11 months ago
v7.1.4
GitHub stars
1.5k
20 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
53

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15kSept 2025Mar 2026Sept 2026High 12.2k (3 Mar 2026)Low 2.1k (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.

4,055 downloads last week, 25,211 in the last month. The 12-month change of -35% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
7.1.4, 9 Oct 202511 months ago
First published
-
Last push to GitHub
13 Sept 202611 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
53
Dependents on npm
9

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18.18.0
Runtimes
-
Unpacked size (npm)
95 kB
Dependencies (10)
filter-objis-plain-objset-error-propsset-error-stackerror-class-utilsis-error-instancemerge-error-causeset-error-messageerror-custom-classnormalize-exception
npm install modern-errors
  • jsDelivrhttps://cdn.jsdelivr.net/npm/modern-errors@7.1.4/
  • unpkghttps://unpkg.com/modern-errors@7.1.4/
  • esm.shhttps://esm.sh/modern-errors@7.1.4
PackageWeekly downloadsGzipLast releaseModuleComparison
mixpanel-browser1.8m-16 days agoESM + CommonJS-
@gitbeaker/rest1.2m-10 months agoESM + CommonJS-
nice-grpc-client-middleware-retry307.4k-1 month agoCommonJS-
scorm-again96k-todayESM + CommonJS-
@cerbos/http24.4k-9 days agoESM only-
printd6.7k-3 years agoCommonJS-
compute-scroll-into-view10.1m-1 year agoESM + CommonJS-
overlayscrollbars580.5k-4 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 4055 < 10000.