Skip to content
JS
Package

domexception

An implementation of the DOMException class from browsers

v4.0.0, 6 Oct 2021MITCommonJSTypes: None
$ npm install domexception
Deprecated on npm
Use your platform's native DOMException instead

Key numbers

As of 25 Sept 2026
Weekly downloads
20.6m
+6% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
4 years ago
v4.0.0
GitHub stars
22
9 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 32.4m (28 Apr 2026)Low 9.4m (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.

20,576,948 downloads last week. The 12-month change of +6% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
4.0.0, 6 Oct 20214 years ago
First published
14 Aug 2017
Last push to GitHub
26 Nov 20231,033 days before the snapshot
Repository archived
Yes
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v4 first release 4.0.0, 6 Oct 2021
  2. v3 first release 3.0.0, 3 Oct 2021
  3. v2 first release 2.0.0, 7 Dec 2019
  4. v1 first release 1.0.0, 14 Aug 2017

Recent releases

VersionPublished
4.0.06 Oct 2021
3.0.03 Oct 2021
2.0.114 Dec 2019
2.0.07 Dec 2019
1.0.122 Jan 2018
1.0.014 Aug 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=12
Runtimes
-
Unpacked size (npm)
20 kB
Dependencies (1)
webidl-conversions
npm install domexception
  • jsDelivrhttps://cdn.jsdelivr.net/npm/domexception@4.0.0/
  • unpkghttps://unpkg.com/domexception@4.0.0/
  • esm.shhttps://esm.sh/domexception@4.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated; no category.