@astrojs/prism 3.1.0
Add Prism syntax highlighting support to your Astro site
@astrojs/prism@3.1.0 was published on 2024-04-11. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is ^18.17.1 || ^20.3.0 || >=21.0.0.
All @astrojs/prism versions · Permanent reference to 3.1.0 · Latest release
Package specifications
| Version | 3.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2024-04-11T11:26:25.700Z |
| Node.js requirement | ^18.17.1 || ^20.3.0 || >=21.0.0 |
| 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 | 11.68 KiB |
| Published file count | 10 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 63458 |
| Repository forks | 3869 |
Install @astrojs/prism 3.1.0
npm install @astrojs/prism@3.1.0 pnpm add @astrojs/prism@3.1.0 yarn add @astrojs/prism@3.1.0
Runtime dependencies
- prismjs ^1.29.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.
- prismjs@1.30.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/%40astrojs%2Fprism/3.1.0 — retrieved 2026-10-29T17:06:53.856Z
- https://api.deps.dev/v3/projects/github.com%2Fwithastro%2Fastro — retrieved 2026-10-29T15:52:48.521Z
- https://api.deps.dev/v3/systems/npm/packages/%40astrojs%2Fprism/versions/3.1.0 — retrieved 2026-10-29T17:06:54.416Z
- https://api.deps.dev/v3/systems/npm/packages/%40astrojs%2Fprism/versions/3.1.0:dependencies — retrieved 2026-10-29T17:06:54.442Z