@mapbox/rehype-prism 0.3.1
rehype plugin to highlight code blocks in HTML with Prism
@mapbox/rehype-prism@0.3.1 was published on 2019-01-23. Its manifest declares 3 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=4.
All @mapbox/rehype-prism versions · Permanent reference to 0.3.1 · Latest release
Package specifications
| Version | 0.3.1 |
|---|---|
| License declaration | MIT |
| Published | 2019-01-23T16:39:03.124Z |
| Node.js requirement | >=4 |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 111.75 KiB |
| Published file count | 10 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 25 |
| Repository stars | 173 |
| Repository forks | 25 |
Install @mapbox/rehype-prism 0.3.1
npm install @mapbox/rehype-prism@0.3.1 pnpm add @mapbox/rehype-prism@0.3.1 yarn add @mapbox/rehype-prism@0.3.1
Runtime dependencies
- hast-util-to-string ^1.0.0
- refractor ^2.3.0
- unist-util-visit ^1.1.3
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.
- character-entities@1.2.4 — indirect
- character-entities-legacy@1.1.4 — indirect
- character-reference-invalid@1.1.4 — indirect
- clipboard@2.0.11 — indirect
- comma-separated-tokens@1.0.8 — indirect
- delegate@3.2.0 — indirect
- good-listener@1.2.2 — indirect
- hast-util-parse-selector@2.2.5 — indirect
- hast-util-to-string@1.0.4 — direct
- hastscript@5.1.2 — indirect
- is-alphabetical@1.0.4 — indirect
- is-alphanumerical@1.0.4 — indirect
- is-decimal@1.0.4 — indirect
- is-hexadecimal@1.0.4 — indirect
- parse-entities@1.2.2 — indirect
- prismjs@1.17.1 — indirect
- property-information@5.6.0 — indirect
- refractor@2.10.1 — direct
- select@1.1.2 — indirect
- space-separated-tokens@1.1.5 — indirect
- tiny-emitter@2.1.0 — indirect
- unist-util-is@3.0.0 — indirect
- unist-util-visit@1.4.1 — direct
- unist-util-visit-parents@2.1.2 — indirect
- xtend@4.0.2 — 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.
| Binary-Artifacts | 10/10 — no binaries found in the repo |
|---|---|
| Maintained | 0/10 — project is archived |
| Code-Review | 1/10 — Found 3/19 approved changesets -- score normalized to 1 |
| 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 |
| Security-Policy | 10/10 — security policy file detected |
| Branch-Protection | 6/10 — branch protection is not maximal on development and all release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40mapbox%2Frehype-prism/0.3.1 — retrieved 2026-10-30T23:01:41.528Z
- https://api.deps.dev/v3/systems/npm/packages/%40mapbox%2Frehype-prism/versions/0.3.1 — retrieved 2026-10-30T23:01:41.911Z
- https://api.deps.dev/v3/systems/npm/packages/%40mapbox%2Frehype-prism/versions/0.3.1:dependencies — retrieved 2026-10-30T23:01:41.942Z
- https://api.deps.dev/v3/projects/github.com%2Fmapbox%2Frehype-prism — retrieved 2026-10-30T23:01:42.430Z