Skip to content
JS
Package

set-error-message

Properly update an error's message

v3.0.1, 29 Mar 2025MITESM onlyTypes: BundledDOM and browser utilitiesTypeScript tooling
$ npm install set-error-message

Key numbers

As of 25 Sept 2026
Weekly downloads
194.1k
+123% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 year ago
v3.0.1
GitHub stars
4
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
42

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300kSept 2025Mar 2026Sept 2026High 242k (25 Aug 2026)Low 71.8k (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.

194,062 downloads last week, 917,108 in the last month. The 12-month change of +123% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.1, 29 Mar 20251 year ago
First published
-
Last push to GitHub
13 Sept 202611 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
42
Dependents on npm
3

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)
11 kB
Dependencies (1)
normalize-exception
npm install set-error-message
  • jsDelivrhttps://cdn.jsdelivr.net/npm/set-error-message@3.0.1/
  • unpkghttps://unpkg.com/set-error-message@3.0.1/
  • esm.shhttps://esm.sh/set-error-message@3.0.1
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: Indexed.