npm · npm:ansi-styles
ansi-styles active
ANSI escape codes for styling strings in the terminal
| Latest stable version | 7.0.0 |
|---|---|
| Published | 2026-07-26 14:57:36 UTC |
| Requires (engines) | {"node":">=22"} |
| Peer dependencies | — |
| Dist-tags | latest: 7.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-09-28 08:49:43 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-07-26 14:57:36 UTC · 64 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 29 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
7.0.0 | 2026-07-26 14:57:36 UTC |
6.2.3 | 2025-09-08 14:52:15 UTC |
6.2.1 | 2022-10-12 16:34:06 UTC |
6.2.0 | 2022-10-11 08:53:33 UTC |
6.1.1 | 2022-09-10 06:30:34 UTC |
6.1.0 | 2021-04-21 08:50:34 UTC |
6.0.0 | 2021-04-16 05:46:35 UTC |
5.2.0 | 2021-03-31 07:15:34 UTC |
5.1.0 | 2021-01-22 14:28:47 UTC |
5.0.0 | 2020-12-01 03:42:08 UTC |
4.3.0 | 2020-10-04 19:18:25 UTC |
4.2.1 | 2020-01-01 18:15:19 UTC |
4.2.0 | 2019-11-12 11:20:05 UTC |
4.1.0 | 2019-08-21 23:35:47 UTC |
4.0.0 | 2019-05-31 07:09:54 UTC |
3.2.1 | 2018-03-02 09:40:00 UTC |
3.2.0 | 2017-07-23 11:25:48 UTC |
3.1.0 | 2017-06-12 22:42:00 UTC |
3.0.0 | 2017-01-17 09:16:34 UTC |
2.2.1 | 2016-03-28 20:35:18 UTC |
Showing the 20 most recent of 29 versions. JSON
Frequently asked questions
What is the latest version of ansi-styles?
The latest stable version of ansi-styles is 7.0.0, published on 2026-07-26. Verified by Vigia on 2026-09-28.
Is ansi-styles deprecated?
No. ansi-styles is not marked as deprecated in the registry.
Which Node.js version does ansi-styles require?
ansi-styles 7.0.0 declares this requirement: {"node":">=22"}.
Does ansi-styles 7.0.0 have known vulnerabilities?
No known advisories affect ansi-styles 7.0.0 according to the data Vigia checks.
Is ansi-styles still maintained?
ansi-styles published 1 stable releases in the last 12 months; the most recent was 64 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- debug
- brace-expansion
- strip-ansi
- minimatch
- ansi-regex
- semver
- ms
- supports-color
- chalk
- commander
- lru-cache
- string-width
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/ansi-styles
GET https://vigia.coredls.cloud/v1/packages/npm/ansi-styles/versions/{version}