npm package
Homehas-ansi
has-ansi is a utility for checking if a string contains ANSI escape codes, which are often used for styling terminal output. It is useful in applications that need to determine if text formatting is present before processing or displaying the text. This package can be integrated into tools that handle terminal output or text processing.
- lurq health score
- 59/100
- Confidence
- proven
- Weekly downloads
- 15,340,584
- Latest version
- 6.0.2
- Last release
- Sep 8, 2025
- License
- MIT
Should you depend on has-ansi?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks has-ansi at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other testing packages lurq scores
- fast-check94/100 · proven
- marked93/100 · proven
- @nestjs/testing93/100 · proven
- @middy/util93/100 · proven
- mocha91/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 3, 2026; this page refreshes every 24 hours. Source repository.