npm · npm:@astrojs/prism
@astrojs/prism active
Add Prism syntax highlighting support to your Astro site
The latest stable version of @astrojs/prism is 4.1.2, published on 2026-10-28. Verified by Vigia on 2026-11-12.
| Latest stable version | 4.1.2 |
|---|---|
| Published | 2026-10-28 14:48:53 UTC |
| Install | npm install @astrojs/prism@latest |
| Requires (engines) | {"node":">=22.23.4"} |
| Peer dependencies | — |
| Dist-tags | rc: 3.0.0-rc.1 beta: 4.0.0-beta.2 next: 0.4.1-next.0 alpha: 4.0.0-alpha.0 latest: 4.1.2 next--vercel-json: 0.0.0-vercel-json-20230313201834 experimental--10745: 0.0.0-10745-20240410180016 next--cloudcannon-fix: 0.0.0-cloudcannon-fix-20230306211609 next--experimental-assets: 0.0.0-experimental-assets-20230307131344 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 16:45:28 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "@astrojs/prism", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/@astrojs/prism . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-28 14:48:53 UTC · 15 days ago |
| Stable releases in the last 12 months | 6 |
| Published versions | 44 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.1.2 | 2026-10-28 14:48:53 UTC |
4.1.1 | 2026-10-21 14:16:22 UTC |
4.1.0 | 2026-10-15 14:45:47 UTC |
4.0.2 | 2026-05-13 17:47:07 UTC |
4.0.1 | 2026-03-18 17:04:10 UTC |
4.0.0 | 2026-03-10 09:48:45 UTC |
3.3.0 | 2025-05-22 12:04:38 UTC |
3.2.0 | 2024-12-03 10:57:52 UTC |
3.1.0 | 2024-04-11 11:26:25 UTC |
3.0.0 | 2023-08-30 11:40:11 UTC |
2.1.2 | 2023-05-18 16:34:20 UTC |
2.1.1 | 2023-03-13 20:08:23 UTC |
2.1.0 | 2023-03-07 19:52:09 UTC |
2.0.0 | 2023-01-24 16:39:27 UTC |
1.0.2 | 2022-11-03 13:41:00 UTC |
1.0.1 | 2022-08-12 00:09:33 UTC |
1.0.0 | 2022-08-09 16:15:51 UTC |
0.7.0 | 2022-08-02 21:54:09 UTC |
0.6.1 | 2022-07-19 04:58:48 UTC |
0.6.0 | 2022-07-13 21:20:33 UTC |
Showing the 20 most recent of 27 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 2.1.2 |
node 18 | 3.3.0 |
node 20 | 4.0.0 |
node 22 | 4.1.2 |
node 24 | 4.1.2 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of @astrojs/prism?
The latest stable version of @astrojs/prism is 4.1.2, published on 2026-10-28. Verified by Vigia on 2026-11-12.
How do I install the latest version of @astrojs/prism?
Run npm install @astrojs/prism@latest. The latest stable version is 4.1.2 (verified 2026-11-12).
Is @astrojs/prism deprecated?
No. @astrojs/prism is not marked as deprecated in the registry.
Which Node.js version does @astrojs/prism require?
@astrojs/prism 4.1.2 declares this requirement: {"node":">=22.23.4"}.
Does @astrojs/prism 4.1.2 have known vulnerabilities?
No known advisories affect @astrojs/prism 4.1.2 according to the data Vigia checks.
Is @astrojs/prism still maintained?
@astrojs/prism published 6 stable releases in the last 12 months; the most recent was 15 days ago. Activity: active.
Observed changes
- Wed Oct 28 2026 16:37:48 GM +0000 (Coordinated Universal Time) — released 4.1.1 → 4.1.2
- Wed Oct 21 2026 16:24:49 GM +0000 (Coordinated Universal Time) — released 4.1.1 → 4.1.1
- Wed Oct 21 2026 14:24:46 GM +0000 (Coordinated Universal Time) — runtime_requirement_changed
- Wed Oct 21 2026 14:24:46 GM +0000 (Coordinated Universal Time) — released 4.1.0 → 4.1.1
- hu Oct 15 2026 16:08:21 GMT+0000 (Coordinated Universal Time) — runtime_requirement_changed
- hu Oct 15 2026 16:08:21 GMT+0000 (Coordinated Universal Time) — released 4.0.2 → 4.1.0
Related packages
- expo-av
- react-simple-maps
- @yarnpkg/core
- @vanilla-extract/webpack-plugin
- web3-providers-http
- @salesforce/kit
- appium
- autosuggest-highlight
- flowbite
- @svgdotjs/svg.resize.js
- @ionic/utils-terminal
- p-settle
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@astrojs/prism) [](https://vigia.coredls.cloud/npm/@astrojs/prism) [](https://vigia.coredls.cloud/npm/@astrojs/prism)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@astrojs/prism
GET https://vigia.coredls.cloud/v1/packages/npm/@astrojs/prism/versions/{version}