html-react-parser 5.1.6
HTML to React parser.
html-react-parser@5.1.6 was published on 2024-02-16. Its manifest declares 5 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All html-react-parser versions · Permanent reference to 5.1.6 · Latest release
Package specifications
| Version | 5.1.6 |
|---|---|
| License declaration | MIT |
| Published | 2024-02-16T19:12:55.639Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 5 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 453.86 KiB |
| Published file count | 40 |
| Package type | Not declared |
| ES module entry | ./esm/index.mjs |
| Default entry | ./lib/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 15 |
| Repository stars | 2432 |
| Repository forks | 144 |
Install html-react-parser 5.1.6
npm install html-react-parser@5.1.6 pnpm add html-react-parser@5.1.6 yarn add html-react-parser@5.1.6
Runtime dependencies
- domhandler 5.0.3
- style-to-js 1.1.10
- @types/react 18.2.55
- react-property 2.0.2
- html-dom-parser 5.0.8
Peer requirements
- react 0.14 || 15 || 16 || 17 || 18
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @types/prop-types@15.7.15 — indirect
- @types/react@18.2.55 — direct
- @types/scheduler@0.28.0 — indirect
- csstype@3.2.3 — indirect
- dom-serializer@2.0.0 — indirect
- domelementtype@2.3.0 — indirect
- domhandler@5.0.3 — direct
- domutils@3.2.2 — indirect
- entities@4.5.0 — indirect
- html-dom-parser@5.0.8 — direct
- htmlparser2@9.1.0 — indirect
- inline-style-parser@0.2.2 — indirect
- react-property@2.0.2 — direct
- style-to-js@1.1.10 — direct
- style-to-object@1.0.5 — indirect
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.
| Maintained | 10/10 — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Security-Policy | 10/10 — security policy file detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Code-Review | 0/10 — Found 0/2 approved changesets -- score normalized to 0 |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| 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 |
| Branch-Protection | 4/10 — branch protection is not maximal on development and all release branches |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/html-react-parser/5.1.6 — retrieved 2026-10-29T21:58:55.094Z
- https://api.deps.dev/v3/projects/github.com%2Fremarkablemark%2Fhtml-react-parser — retrieved 2026-10-29T20:28:01.329Z
- https://api.deps.dev/v3/systems/npm/packages/html-react-parser/versions/5.1.6 — retrieved 2026-10-29T21:58:55.614Z
- https://api.deps.dev/v3/systems/npm/packages/html-react-parser/versions/5.1.6:dependencies — retrieved 2026-10-29T21:58:55.635Z