rehype-slug-custom-id
plugin to add `id` attributes to headings similar to gatsby-remark-autolink-headers
rehype-slug-custom-id@2.0.0 was published on 2024-06-24. Its manifest declares 8 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-slug-custom-id versions · Permanent reference to 2.0.0
Package specifications
| Version | 2.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2024-06-24T15:04:22.699Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 8 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 9.99 KiB |
| Published file count | 5 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 20 |
| Repository stars | 7 |
| Repository forks | 1 |
Install rehype-slug-custom-id 2.0.0
npm install rehype-slug-custom-id@2.0.0 pnpm add rehype-slug-custom-id@2.0.0 yarn add rehype-slug-custom-id@2.0.0
Runtime dependencies
- @types/hast ^3.0.4
- github-slugger ^2.0.0
- hast-util-has-property ^3.0.0
- hast-util-heading-rank ^3.0.0
- hast-util-to-string ^3.0.0
- lodash ^4.17.21
- unified ^11.0.5
- unist-util-visit ^5.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
- bail@2.0.2 — indirect
- dequal@2.0.3 — indirect
- devlop@1.1.0 — indirect
- extend@3.0.2 — indirect
- github-slugger@2.0.0 — direct
- hast-util-has-property@3.0.0 — direct
- hast-util-heading-rank@3.0.0 — direct
- hast-util-to-string@3.0.1 — direct
- is-plain-obj@4.1.0 — indirect
- lodash@4.18.1 — direct
- trough@2.2.0 — indirect
- unified@11.0.5 — direct
- unist-util-is@6.0.1 — indirect
- unist-util-stringify-position@4.0.0 — indirect
- unist-util-visit@5.2.0 — direct
- unist-util-visit-parents@6.1.0 — indirect
- vfile@6.0.3 — indirect
- vfile-message@4.0.3 — 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.
Evidence and freshness
- https://registry.npmjs.org/rehype-slug-custom-id/2.0.0 — retrieved 2026-10-30T12:27:06.030Z
- https://api.deps.dev/v3/systems/npm/packages/rehype-slug-custom-id/versions/2.0.0 — retrieved 2026-10-30T12:27:06.418Z
- https://api.deps.dev/v3/systems/npm/packages/rehype-slug-custom-id/versions/2.0.0:dependencies — retrieved 2026-10-30T12:27:06.479Z
- https://api.deps.dev/v3/projects/github.com%2Funicorn-utterances%2Frehype-slug-custom-id — retrieved 2026-10-30T12:27:06.977Z