htmlparser2 7.1.2
Fast & forgiving HTML/XML parser
htmlparser2@7.1.2 was published on 2021-09-11. Its manifest declares 4 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All htmlparser2 versions · Permanent reference to 7.1.2 · Latest release
Package specifications
| Version | 7.1.2 |
|---|---|
| License declaration | MIT |
| Published | 2021-09-11T18:50:37.500Z |
| Node.js requirement | Not declared |
| 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 | 92.54 KiB |
| Published file count | 18 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | lib/index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 6 |
| Repository stars | 4794 |
| Repository forks | 408 |
Install htmlparser2 7.1.2
npm install htmlparser2@7.1.2 pnpm add htmlparser2@7.1.2 yarn add htmlparser2@7.1.2
Runtime dependencies
- domutils ^2.8.0
- entities ^3.0.1
- domhandler ^4.2.2
- domelementtype ^2.0.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.
- dom-serializer@1.4.1 — indirect
- domelementtype@2.3.0 — direct
- domhandler@4.3.1 — direct
- domutils@2.8.0 — direct
- entities@2.2.0 — indirect
- entities@3.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/7.1.2 — retrieved 2026-10-29T10:27:37.863Z
- 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/7.1.2 — retrieved 2026-10-29T10:27:38.387Z
- https://api.deps.dev/v3/systems/npm/packages/htmlparser2/versions/7.1.2:dependencies — retrieved 2026-10-29T10:27:38.402Z