domelementtype
npmv3.0.0TypeScriptall the types of nodes in htmlparser2's dom
Safe to adopt
Yes — domelementtype scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 176 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 176 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 7.5 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 domelementtype 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.
Compatibility
- Node.js
- node >=20.19.0
- Module format
- ESM only
- TypeScript
- Types included
- Install scripts
- None
domelementtype 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 |
|---|---|---|---|---|
| domelementtypethis page | 0 | 4 | BSD-2-Clause | 5 months ago |
| domhandler | 0 | 6 | BSD-2-Clause | 1 day ago |
| domutils | 0 | 3 | BSD-2-Clause | 1 day ago |
| type-fest | 337.8M | 6 | (MIT OR CC0-1.0) | 1 day ago |
| mime-types | 185.3M | 9 | MIT | 1 day ago |
| csstype | 142.8M | 2 | MIT | 1 day ago |
Dependencies
Declared by domelementtype v3.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (7)
Used by
Popular packages that depend on domelementtype.
render domhandler DOM nodes to a string
CSS selector engine supporting jQuery selectors
Utilities for working with htmlparser2's dom
Handler for htmlparser2 that turns pages into a dom
Relationship graph
Dependencies (left) and dependents (right) of domelementtype.
Frequently installed together
An AST-based pattern checker for JavaScript.
TypeScript definitions for node
Next generation testing framework powered by Vite
Handler for htmlparser2 that turns pages into a dom
Encode & decode XML and HTML entities with ease & speed
Prettier is an opinionated code formatter
render domhandler DOM nodes to a string
Delightful JavaScript Testing.
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
Utilities for working with htmlparser2's dom
two functions: One that returns true, one that returns false
a CSS selector parser
Release history
1 release in the last two years, typically about 121 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.0.0latest | 5 months ago | 7.5 KB | BSD-2-Clause |
| 2.3.0 | 4 years ago | 11 KB | BSD-2-Clause |
| 2.2.0 | 5 years ago | 6.7 KB | BSD-2-Clause |
| 2.1.0 | 5 years ago | 5.9 KB | BSD-2-Clause |
| 2.0.2 | 6 years ago | 5.6 KB | BSD-2-Clause |
| 2.0.1 | 7 years ago | 4.5 KB | BSD-2-Clause |
| 2.0.0 | 7 years ago | 4.5 KB | BSD-2-Clause |
| 1.3.1 | 7 years ago | 2.0 KB | BSD-2-Clause |
| 1.2.1 | 8 years ago | 2.0 KB | BSD-2-Clause |
| 1.3.0 | 11 years ago | — | BSD-2-Clause |
| 1.2.0 | 11 years ago | — | BSD-2-Clause |
| 1.1.3 | 12 years ago | — | BSD-2-Clause |
| 1.1.2 | 12 years ago | — | BSD-2-Clause |
| 1.1.1 | 13 years ago | — | BSD-2-Clause |
| 1.1.0 | 13 years ago | — | BSD-2-Clause |
Overview
domelementtype is an npm package that all the types of nodes in htmlparser2's dom. It has 4 known dependents in the graph. The latest version is 3.0.0, released under the BSD-2-Clause license.
Who should use it
Teams working in the npm ecosystem who need all the types of nodes in 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 domelementtype?
Yes — domelementtype scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 176 days ago.
How do I install domelementtype?
Run `npm install domelementtype` to add domelementtype to your npm project.
What license is domelementtype released under?
domelementtype is distributed under the BSD-2-Clause license.
How popular is domelementtype?
npm does not publish download counts. Within PackageGraph's crawl, 4 known packages depend on domelementtype.
Is domelementtype still maintained?
The most recent release of domelementtype (v3.0.0) was published 5 months ago.
Does domelementtype run install scripts?
No. domelementtype does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.