hast-util-to-text
hast utility to get the plain-text value of a node according to the `innerText` algorithm
hast-util-to-text@4.0.3 was published on 2026-10-25. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All hast-util-to-text versions ยท Permanent reference to 4.0.3
Package specifications
| Version | 4.0.3 |
|---|---|
| License declaration | MIT |
| Published | 2026-10-25T11:28:55.057Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 37.13 KiB |
| Published file count | 9 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | false |
| Direct advisories | Unknown |
| Resolved graph dependencies | Unknown |
| Repository stars | Unknown |
| Repository forks | Unknown |
Install hast-util-to-text 4.0.3
npm install hast-util-to-text@4.0.3 pnpm add hast-util-to-text@4.0.3 yarn add hast-util-to-text@4.0.3
Runtime dependencies
- @types/hast ^3.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
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.
Evidence and freshness
- https://registry.npmjs.org/hast-util-to-text/4.0.3 โ retrieved 2026-11-01T05:38:13.142Z