has-ansi

npmv6.0.2

Check if a string has ANSI escape codes

License MITpermissive13 versions1 maintainers1 deps
chalk/has-ansi
52
/ 100
Health
do not use

Do not install. Package is flagged as malicious (advisory MAL-2025-46976).

Health breakdown0 – 100
10/25
maintenance
0/20
popularity
25/25
security
15/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

πŸ“¦

Bundle Size

0.5 KBminified
0.3 KB gzipped
1 direct dependencies
🌟

TypeScript

10/10typed
bundled
⚠ Malicious package
This package is flagged as malicious by the OpenSSF/OSV community feed. Do not install.
Advisory: MAL-2025-46976 β€” Malicious code in has-ansi (npm)

Health History

Dependency Tree

License Audit

Dependencies (1)
API access

Get this data programmatically β€” free, no authentication.

curl https://depscope.dev/api/check/npm/has-ansi

First published Β· 2014-06-14T19:40:55.321Z

Last updated Β· 2025-09-08T15:08:53.260Z

has-ansi β€” Health Score 52/100 | DepScope