Install
ansi-regex
Regular expression for matching ANSI escape codes
6.6.0Latest, 8 Nov 2026
3BDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
206Stars
3.8/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Malicious code in ansi-regex (npm) MAL-2025-46966 | No fix listed | 8 Sep 2025 | |
| High | Inefficient Regular Expression Complexity in chalk/ansi-regex CVE-2021-3807 | Fixed in 5.0.1, 4.1.1, 3.0.1 | 20 Sep 2021 |
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.