htmlparser2
Fast & forgiving HTML/XML parser
htmlparser2@12.0.0 was published on 2026-03-20. Its manifest declares 4 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=20.19.0.
All htmlparser2 versions · Permanent reference to 12.0.0
Package specifications
| Version | 12.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-03-20T23:08:39.985Z |
| Node.js requirement | >=20.19.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 229.59 KiB |
| Published file count | 28 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | ./dist/index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 5 |
| Repository stars | 4794 |
| Repository forks | 408 |
Install htmlparser2 12.0.0
npm install htmlparser2@12.0.0 pnpm add htmlparser2@12.0.0 yarn add htmlparser2@12.0.0
Runtime dependencies
- domutils ^4.0.2
- entities ^8.0.0
- domhandler ^6.0.0
- domelementtype ^3.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- dom-serializer@3.1.1 — indirect
- domelementtype@3.0.0 — direct
- domhandler@6.0.1 — direct
- domutils@4.0.2 — direct
- entities@8.1.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Security-Policy | 10/10 — security policy file detected |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Maintained | 10/10 — 30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Pinned-Dependencies | 5/10 — dependency not pinned by hash detected -- score normalized to 5 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/htmlparser2/12.0.0 — retrieved 2026-10-29T08:19:44.989Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Ffb55%2Fhtmlparser2 — retrieved 2026-10-29T06:01:32.444Z
- https://api.deps.dev/v3/systems/npm/packages/htmlparser2/versions/12.0.0:dependencies — retrieved 2026-10-29T09:25:48.950Z
- https://api.deps.dev/v3/systems/npm/packages/htmlparser2/versions/12.0.0 — retrieved 2026-10-29T09:25:48.964Z