domutils
npmv4.0.2TypeScriptUtilities for working with htmlparser2's dom
Safe to adopt
Yes — domutils scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 175 days ago. 6 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 175 days ago. 6 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 4 transitive packages, about 520 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
BSD-2-Clause — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding domutils to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing domutils, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=20.19.0
- Module format
- ESM only
- TypeScript
- Types included
- Install scripts
- None
domutils vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| domutilsthis page | 0 | 3 | BSD-2-Clause | 5 months ago |
| domhandler | 0 | 6 | BSD-2-Clause | 1 day ago |
| domelementtype | 0 | 4 | BSD-2-Clause | 1 day ago |
| @testing-library/jest-dom | 56M | 6 | MIT | 1 day ago |
| cheerio | 24.1M | 5 | MIT | 1 day ago |
| @expo/dom-webview | 0 | 2 | MIT | 1 day ago |
Dependencies
Declared by domutils v4.0.2. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (11)
Used by
Popular packages that depend on domutils.
Relationship graph
Dependencies (left) and dependents (right) of domutils.
Frequently installed together
An AST-based pattern checker for JavaScript.
TypeScript definitions for node
Handler for htmlparser2 that turns pages into a dom
Prettier is an opinionated code formatter
Next generation testing framework powered by Vite
two functions: One that returns true, one that returns false
a CSS selector parser
An HTTP/1.1 client, written from scratch for Node.js
render domhandler DOM nodes to a string
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
Delightful JavaScript Testing.
Parses and compiles CSS nth-checks to highly optimized functions.
Release history
6 releases in the last two years, typically about 13 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.0.2latest | 5 months ago | 116 KB | BSD-2-Clause |
| 4.0.1 | 5 months ago | 123 KB | BSD-2-Clause |
| 4.0.0 | 5 months ago | 78 KB | BSD-2-Clause |
| 3.2.2 | 1 year ago | 163 KB | BSD-2-Clause |
| 3.2.1 | 1 year ago | 163 KB | BSD-2-Clause |
| 3.2.0 | 1 year ago | 161 KB | BSD-2-Clause |
| 3.1.0 | 3 years ago | 158 KB | BSD-2-Clause |
| 3.0.1 | 4 years ago | 151 KB | BSD-2-Clause |
| 3.0.0 | 4 years ago | 151 KB | BSD-2-Clause |
| 2.8.0 | 5 years ago | 55 KB | BSD-2-Clause |
| 2.7.0 | 5 years ago | 46 KB | BSD-2-Clause |
| 2.6.0 | 5 years ago | 44 KB | BSD-2-Clause |
| 2.5.2 | 5 years ago | 46 KB | BSD-2-Clause |
| 2.5.1 | 5 years ago | 46 KB | BSD-2-Clause |
| 2.5.0 | 5 years ago | 46 KB | BSD-2-Clause |
Overview
domutils is an npm package that utilities for working with htmlparser2's dom. It has 3 known dependents in the graph. The latest version is 4.0.2, released under the BSD-2-Clause license.
Who should use it
Teams working in the npm ecosystem who need utilities for working with htmlparser2's dom and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (BSD-2-Clause).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Funding
Frequently asked questions
Should I use domutils?
Yes — domutils scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 175 days ago. 6 releases in the last 2 years.
How do I install domutils?
Run `npm install domutils` to add domutils to your npm project.
How many dependencies does domutils have?
domutils declares 14 direct dependencies and pulls in 4 packages in total once its runtime tree is resolved totalling about 520 KB on disk.
What license is domutils released under?
domutils is distributed under the BSD-2-Clause license. Its dependency tree also includes: BSD-2-Clause, MIT.
How popular is domutils?
npm does not publish download counts. Within PackageGraph's crawl, 3 known packages depend on domutils.
Is domutils still maintained?
The most recent release of domutils (v4.0.2) was published 5 months ago.
Does domutils run install scripts?
No. domutils does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.