hast-util-format
Format whitespace in HTML
hast-util-format@1.1.0 was published on 2024-09-19. Its manifest declares 7 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 hast-util-format versions · Permanent reference to 1.1.0
Package specifications
| Version | 1.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2024-09-19T11:21:03.950Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 7 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 16.15 KiB |
| Published file count | 10 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 12 |
| Repository stars | 5 |
| Repository forks | 1 |
Install hast-util-format 1.1.0
npm install hast-util-format@1.1.0 pnpm add hast-util-format@1.1.0 yarn add hast-util-format@1.1.0
Runtime dependencies
- @types/hast ^3.0.0
- hast-util-embedded ^3.0.0
- hast-util-phrasing ^3.0.0
- hast-util-whitespace ^3.0.0
- unist-util-visit-parents ^6.0.0
- hast-util-minify-whitespace ^1.0.0
- html-whitespace-sensitive-tag-names ^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.
- @types/hast@3.0.5 — direct
- @types/unist@3.0.3 — indirect
- hast-util-embedded@3.0.0 — direct
- hast-util-has-property@3.0.0 — indirect
- hast-util-is-body-ok-link@3.0.1 — indirect
- hast-util-is-element@3.0.0 — indirect
- hast-util-minify-whitespace@1.0.1 — direct
- hast-util-phrasing@3.0.1 — direct
- hast-util-whitespace@3.0.0 — direct
- html-whitespace-sensitive-tag-names@3.0.1 — direct
- unist-util-is@6.0.1 — indirect
- unist-util-visit-parents@6.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.
Evidence and freshness
- https://registry.npmjs.org/hast-util-format/1.1.0 — retrieved 2026-10-29T18:08:52.943Z
- https://api.deps.dev/v3/systems/npm/packages/hast-util-format/versions/1.1.0 — retrieved 2026-10-29T18:08:53.678Z
- https://api.deps.dev/v3/systems/npm/packages/hast-util-format/versions/1.1.0:dependencies — retrieved 2026-10-29T18:08:53.708Z
- https://api.deps.dev/v3/projects/github.com%2Fsyntax-tree%2Fhast-util-format — retrieved 2026-10-29T18:08:53.825Z