@astrojs/prism
Add Prism syntax highlighting support to your Astro site
@astrojs/prism@4.1.2 was published on 2026-10-28. Its manifest declares 1 runtime dependency and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=22.23.4.
All @astrojs/prism versions · Permanent reference to 4.1.2
Package specifications
| Version | 4.1.2 |
|---|---|
| License declaration | MIT |
| Published | 2026-10-28T14:48:53.411Z |
| Node.js requirement | >=22.23.4 |
| Type declarations | Not declared |
| 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 | 15.72 KiB |
| Published file count | 14 |
| 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 4.1.2
npm install @astrojs/prism@4.1.2 pnpm add @astrojs/prism@4.1.2 yarn add @astrojs/prism@4.1.2
Runtime dependencies
- prismjs ^1.30.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/4.1.2 — retrieved 2026-10-29T17:45:06.413Z
- 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/4.1.2 — retrieved 2026-10-29T18:02:36.756Z
- https://api.deps.dev/v3/systems/npm/packages/%40astrojs%2Fprism/versions/4.1.2:dependencies — retrieved 2026-10-29T18:02:36.785Z