npm · npm:ansi-regex
ansi-regex active
Regular expression for matching ANSI escape codes
The latest stable version of ansi-regex is 6.6.0, published on 2026-11-08. Verified by Vigia on 2026-11-12.
| Latest stable version | 6.6.0 |
|---|---|
| Published | 2026-11-08 11:31:30 UTC |
| Install | npm install ansi-regex@latest |
| Requires (engines) | {"node":">=12"} |
| Peer dependencies | — |
| Dist-tags | latest: 6.6.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:35:53 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 "ansi-regex", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/ansi-regex . 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-29 13:35:20 UTC · 14 days ago |
| Stable releases in the last 12 months | 3 |
| Published versions | 23 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
6.5.0 | 2026-10-29 13:35:20 UTC |
6.4.0 | 2026-09-27 03:34:44 UTC |
6.3.0 | 2026-08-12 14:33:26 UTC |
6.2.2 | 2025-09-08 14:48:14 UTC |
6.2.0 | 2025-08-17 16:49:37 UTC |
6.1.0 | 2024-09-09 13:57:56 UTC |
3.0.1 | 2022-03-27 13:29:44 UTC |
4.1.1 | 2022-03-12 03:08:58 UTC |
5.0.1 | 2021-09-14 15:55:19 UTC |
6.0.1 | 2021-09-10 20:25:05 UTC |
6.0.0 | 2021-04-16 06:02:15 UTC |
5.0.0 | 2019-10-04 11:29:13 UTC |
4.1.0 | 2019-03-08 06:14:40 UTC |
4.0.0 | 2018-09-18 08:18:58 UTC |
3.0.0 | 2017-06-20 19:03:33 UTC |
2.1.1 | 2017-01-14 03:09:39 UTC |
2.0.0 | 2015-06-30 16:07:19 UTC |
1.1.1 | 2015-02-22 09:24:51 UTC |
1.1.0 | 2014-08-30 12:38:30 UTC |
1.0.0 | 2014-08-13 13:29:14 UTC |
Showing the 20 most recent of 23 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 | 6.5.0 |
node 18 | 6.5.0 |
node 20 | 6.5.0 |
node 22 | 6.5.0 |
node 24 | 6.5.0 |
Upgrade guides for this package
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 ansi-regex?
The latest stable version of ansi-regex is 6.6.0, published on 2026-11-08. Verified by Vigia on 2026-11-12.
How do I install the latest version of ansi-regex?
Run npm install ansi-regex@latest. The latest stable version is 6.6.0 (verified 2026-11-12).
Is ansi-regex deprecated?
No. ansi-regex is not marked as deprecated in the registry.
Which Node.js version does ansi-regex require?
ansi-regex 6.6.0 declares this requirement: {"node":">=12"}.
Does ansi-regex 6.6.0 have known vulnerabilities?
No known advisories affect ansi-regex 6.6.0 according to the data Vigia checks.
Is ansi-regex still maintained?
ansi-regex published 3 stable releases in the last 12 months; the most recent was 14 days ago. Activity: active.
Observed changes
- Sun Nov 08 2026 13:23:45 GM +0000 (Coordinated Universal Time) — released 6.6.0 → 6.6.0
- Sun Nov 08 2026 11:38:32 GM +0000 (Coordinated Universal Time) — released 6.5.0 → 6.6.0
- Fri Oct 30 2026 12:58:06 GM +0000 (Coordinated Universal Time) — released 6.5.0 → 6.5.0
- hu Oct 29 2026 13:49:20 GMT+0000 (Coordinated Universal Time) — released 6.4.0 → 6.5.0
Related packages
- ms
- strip-ansi
- brace-expansion
- supports-color
- chalk
- ansi-styles
- debug
- commander
- minimatch
- lru-cache
- semver
- string-width
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/ansi-regex) [](https://vigia.coredls.cloud/npm/ansi-regex) [](https://vigia.coredls.cloud/npm/ansi-regex)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/ansi-regex
GET https://vigia.coredls.cloud/v1/packages/npm/ansi-regex/versions/{version}