rehype-format
rehype plugin to format HTML
rehype-format@5.0.1 was published on 2024-09-19. Its manifest declares 2 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 rehype-format versions · Permanent reference to 5.0.1
Package specifications
| Version | 5.0.1 |
|---|---|
| License declaration | MIT |
| Published | 2024-09-19T11:22:48.732Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 14.33 KiB |
| Published file count | 9 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 13 |
| Repository stars | 38 |
| Repository forks | 6 |
Install rehype-format 5.0.1
npm install rehype-format@5.0.1 pnpm add rehype-format@5.0.1 yarn add rehype-format@5.0.1
Runtime dependencies
- @types/hast ^3.0.0
- hast-util-format ^1.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 — indirect
- hast-util-format@1.1.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 — indirect
- hast-util-phrasing@3.0.1 — indirect
- hast-util-whitespace@3.0.0 — indirect
- html-whitespace-sensitive-tag-names@3.0.1 — indirect
- unist-util-is@6.0.1 — indirect
- unist-util-visit-parents@6.1.0 — 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.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Code-Review | 0/10 — Found 1/30 approved changesets -- score normalized to 0 |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| 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 |
| Signed-Releases | 0/10 — Project has not signed or included provenance with any releases. |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
| Security-Policy | 10/10 — security policy file detected |
Evidence and freshness
- https://registry.npmjs.org/rehype-format/5.0.1 — retrieved 2026-10-29T17:56:20.401Z
- https://api.deps.dev/v3/systems/npm/packages/rehype-format/versions/5.0.1 — retrieved 2026-10-29T17:56:20.923Z
- https://api.deps.dev/v3/systems/npm/packages/rehype-format/versions/5.0.1:dependencies — retrieved 2026-10-29T17:56:20.947Z
- https://api.deps.dev/v3/projects/github.com%2Frehypejs%2Frehype-format — retrieved 2026-10-29T17:56:21.094Z