htmlparser2 2.5.1
Performance-optimized forgiving HTML/XML/RSS parser
htmlparser2@2.5.1 was published on 2013-01-09. Its manifest declares 3 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All htmlparser2 versions · Permanent reference to 2.5.1 · Latest release
Package specifications
| Version | 2.5.1 |
|---|---|
| License declaration | Not declared |
| Published | 2013-01-09T14:48:45.369Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | ./lib/ |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 3 |
| Repository stars | 4794 |
| Repository forks | 408 |
Install htmlparser2 2.5.1
npm install htmlparser2@2.5.1 pnpm add htmlparser2@2.5.1 yarn add htmlparser2@2.5.1
Runtime dependencies
- domutils 1.0
- domhandler 2.0
- domelementtype 1
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.
- domelementtype@1.3.1 — direct
- domhandler@2.0.3 — direct
- domutils@1.0.1 — 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/2.5.1 — retrieved 2026-10-29T10:47:37.485Z
- 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/2.5.1 — retrieved 2026-10-29T10:47:37.997Z
- https://api.deps.dev/v3/systems/npm/packages/htmlparser2/versions/2.5.1:dependencies — retrieved 2026-10-29T10:47:38.027Z