Skip to content
JS
Package

domutils

Utilities for working with htmlparser2's dom

v4.0.2, 18 Mar 2026BSD-2-ClauseESM onlyTypes: BundledDOM and browser utilities
$ npm install domutils

Key numbers

As of 25 Sept 2026
Weekly downloads
84.8m
+75% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
6 months ago
v4.0.2
GitHub stars
228
64 forks
Open issues / PRs
0 / 11
Contributors
22
Commits, last 52 weeks
138

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 109.5m (25 Aug 2026)Low 30m (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.

84,831,841 downloads last week, 386,876,489 in the last month. The 12-month change of +75% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
346 in total
Latest version
4.0.2, 18 Mar 20266 months ago
First published
10 Nov 2012
Last push to GitHub
22 Sept 20262 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
11
Commits, last 52 weeks
138
Dependents on npm
857

Major versions

  1. v4 first release 4.0.0, 17 Mar 2026
  2. v3 first release 3.0.0, 21 Apr 2022
  3. v2 first release 2.0.0, 2 Aug 2019
  4. v1 first release 1.0.0, 10 Nov 2012

Recent releases

VersionPublished
4.0.218 Mar 2026
4.0.117 Mar 2026
4.0.017 Mar 2026
3.2.26 Jan 2025
3.2.124 Dec 2024
3.2.024 Dec 2024
3.1.029 Apr 2023
3.0.122 Apr 2022
3.0.021 Apr 2022
2.8.027 Aug 2021
2.7.06 Jun 2021
2.6.016 Apr 2021
2.5.28 Apr 2021
2.5.11 Apr 2021
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20.19.0
Runtimes
-
Unpacked size (npm)
116 kB
Dependencies (3)
domhandlerdom-serializerdomelementtype
npm install domutils

CDN

jsDelivr: 636.9k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/domutils@4.0.2/
  • unpkghttps://unpkg.com/domutils@4.0.2/
  • esm.shhttps://esm.sh/domutils@4.0.2
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.