npm · npm:refractor
refractor active
Lightweight, robust, elegant virtual syntax highlighting using Prism
The latest stable version of refractor is 5.0.0, published on 2025-03-11. Verified by Vigia on 2026-11-12.
| Latest stable version | 5.0.0 |
|---|---|
| Published | 2025-03-11 15:23:56 UTC |
| Install | npm install refractor@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 5.0.0 legacy: 3.6.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 15:06:59 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 "refractor", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/refractor . 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 | dormant |
|---|---|
| Last stable release | 2025-03-11 15:23:56 UTC · 611 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 42 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
5.0.0 | 2025-03-11 15:23:56 UTC |
4.9.0 | 2025-03-11 14:41:54 UTC |
4.8.1 | 2023-02-28 18:31:27 UTC |
4.8.0 | 2022-08-23 18:31:22 UTC |
4.7.0 | 2022-05-12 17:53:08 UTC |
4.6.0 | 2022-04-17 17:04:27 UTC |
3.6.0 | 2022-02-25 14:03:25 UTC |
4.5.0 | 2022-02-19 11:32:34 UTC |
4.4.0 | 2022-01-06 19:57:28 UTC |
4.3.0 | 2021-11-22 19:24:22 UTC |
4.2.2 | 2021-11-08 09:11:36 UTC |
3.5.0 | 2021-10-08 07:46:16 UTC |
4.2.1 | 2021-09-22 13:52:53 UTC |
4.2.0 | 2021-09-17 16:29:25 UTC |
4.1.1 | 2021-08-08 16:34:07 UTC |
3.4.0 | 2021-06-30 10:21:08 UTC |
4.1.0 | 2021-06-28 06:48:52 UTC |
4.0.0 | 2021-05-08 08:48:49 UTC |
3.3.1 | 2021-01-22 08:44:15 UTC |
3.3.0 | 2021-01-02 10:07:22 UTC |
Showing the 20 most recent of 42 versions. JSON
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 refractor?
The latest stable version of refractor is 5.0.0, published on 2025-03-11. Verified by Vigia on 2026-11-12.
How do I install the latest version of refractor?
Run npm install refractor@latest. The latest stable version is 5.0.0 (verified 2026-11-12).
Is refractor deprecated?
No. refractor is not marked as deprecated in the registry.
Which Node.js version does refractor require?
refractor 5.0.0 does not declare a Node.js version requirement.
Does refractor 5.0.0 have known vulnerabilities?
No known advisories affect refractor 5.0.0 according to the data Vigia checks.
Is refractor still maintained?
refractor published 0 stable releases in the last 12 months; the most recent was 611 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- postcss-custom-media
- @prisma/fetch-engine
- p-is-promise
- read-package-json-fast
- sparse-bitfield
- postcss-custom-properties
- multimatch
- prosemirror-schema-basic
- @codemirror/view
- replace-ext
- @radix-ui/react-use-effect-event
- toml
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/refractor) [](https://vigia.coredls.cloud/npm/refractor) [](https://vigia.coredls.cloud/npm/refractor)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/refractor
GET https://vigia.coredls.cloud/v1/packages/npm/refractor/versions/{version}