npm · npm:ansi-colors
ansi-colors active
Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).
The latest stable version of ansi-colors is 4.1.3, published on 2022-05-16. Verified by Vigia on 2026-11-12.
| Latest stable version | 4.1.3 |
|---|---|
| Published | 2022-05-16 15:48:22 UTC |
| Install | npm install ansi-colors@latest |
| Requires (engines) | {"node":">=6"} |
| Peer dependencies | — |
| Dist-tags | latest: 4.1.3 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:42:38 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-colors", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/ansi-colors . 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 | 2022-05-16 15:48:22 UTC · 1641 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 29 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.1.3 | 2022-05-16 15:48:22 UTC |
4.1.2 | 2022-05-15 08:43:52 UTC |
4.1.1 | 2019-07-03 05:13:18 UTC |
4.1.0 | 2019-07-01 22:26:11 UTC |
4.0.1 | 2019-06-19 11:12:11 UTC |
3.2.4 | 2019-03-03 05:39:18 UTC |
3.2.3 | 2018-12-08 03:01:09 UTC |
3.2.2 | 2018-12-04 01:59:24 UTC |
3.2.1 | 2018-10-22 06:56:42 UTC |
3.2.0 | 2018-10-22 06:51:45 UTC |
3.1.0 | 2018-09-28 11:25:07 UTC |
3.0.6 | 2018-09-20 19:02:20 UTC |
3.0.5 | 2018-08-24 03:35:20 UTC |
3.0.4 | 2018-08-23 12:32:53 UTC |
3.0.3 | 2018-08-19 14:12:24 UTC |
3.0.2 | 2018-08-19 00:02:12 UTC |
3.0.1 | 2018-08-18 14:37:18 UTC |
3.0.0 | 2018-08-16 11:39:34 UTC |
2.0.5 | 2018-07-19 18:51:02 UTC |
2.0.4 | 2018-07-19 00:25:27 UTC |
Showing the 20 most recent of 29 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 | 4.1.3 |
node 18 | 4.1.3 |
node 20 | 4.1.3 |
node 22 | 4.1.3 |
node 24 | 4.1.3 |
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-colors?
The latest stable version of ansi-colors is 4.1.3, published on 2022-05-16. Verified by Vigia on 2026-11-12.
How do I install the latest version of ansi-colors?
Run npm install ansi-colors@latest. The latest stable version is 4.1.3 (verified 2026-11-12).
Is ansi-colors deprecated?
No. ansi-colors is not marked as deprecated in the registry.
Which Node.js version does ansi-colors require?
ansi-colors 4.1.3 declares this requirement: {"node":">=6"}.
Does ansi-colors 4.1.3 have known vulnerabilities?
No known advisories affect ansi-colors 4.1.3 according to the data Vigia checks.
Is ansi-colors still maintained?
ansi-colors published 0 stable releases in the last 12 months; the most recent was 1641 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @babel/plugin-transform-modules-commonjs
- jest-resolve
- @protobufjs/inquire
- @smithy/util-base64
- jest-environment-node
- cssom
- @smithy/credential-provider-imds
- @types/qs
- ecdsa-sig-formatter
- @smithy/core
- eslint-import-resolver-node
- @radix-ui/number
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-colors) [](https://vigia.coredls.cloud/npm/ansi-colors) [](https://vigia.coredls.cloud/npm/ansi-colors)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/ansi-colors
GET https://vigia.coredls.cloud/v1/packages/npm/ansi-colors/versions/{version}