@astrojs/prism 2.1.0
Supports Prism highlighting in Astro projects
@astrojs/prism@2.1.0 was published on 2023-03-07. 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 >=16.12.0.
All @astrojs/prism versions · Permanent reference to 2.1.0 · Latest release
Package specifications
| Version | 2.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2023-03-07T19:52:09.289Z |
| Node.js requirement | >=16.12.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 | 22.88 KiB |
| Published file count | 16 |
| 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 2.1.0
npm install @astrojs/prism@2.1.0 pnpm add @astrojs/prism@2.1.0 yarn add @astrojs/prism@2.1.0
Runtime dependencies
- prismjs ^1.28.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/2.1.0 — retrieved 2026-10-29T17:45:12.469Z
- 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/2.1.0 — retrieved 2026-10-29T17:45:13.081Z
- https://api.deps.dev/v3/systems/npm/packages/%40astrojs%2Fprism/versions/2.1.0:dependencies — retrieved 2026-10-29T17:45:13.096Z