Is Has Ansi Safe?
Has Ansi — Nerq Trust Score 69.0/100 (B- grade). Score based on 2 independent trust signals. Last analyzed: 2026-08-10
Has Ansi is a npm package with a Nerq Trust Score of 69.0/100 (B-), based on 3 independent data dimensions. Last analyzed: 2026-08-10 Security: 90/100. Popularity: 90/100. Data sourced from npm registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard. Last updated: 2026-08-10. Machine-readable data (JSON).
Is Has Ansi safe?
Trust Score Breakdown — Has Ansi has a Nerq Trust Score of 69.0/100 (B-). Measured across 2 independent trust signals (as of 2026-08-10).
What is Has Ansi's trust score?
Has Ansi has a Nerq Trust Score of 69.0/100, earning a B- grade. This score is based on 2 independently measured dimensions including security, maintenance, and community adoption.
What are the key security findings for Has Ansi?
Has Ansi's strongest signal is security at 90/100. No known vulnerabilities have been detected.
What is Has Ansi and who maintains it?
| Author | sindresorhus |
| Category | npm Packages |
| Source | N/A |
Similar Npm by Trust Score
Safety Guide: Has Ansi
What is Has Ansi?
Has Ansi is a Node.js package — Check if a string has ANSI escape codes.
How to Verify Safety
Run npm audit to check for vulnerabilities. Review the package's GitHub repository for recent commits.
You can also check the trust score via API: GET /v1/preflight?target=has-ansi
Key Safety Concerns for Node.js package
When evaluating any Node.js package, watch for: dependency vulnerabilities, malicious packages, typosquatting.
Measured Signals
Has Ansi has a Nerq Trust Score of 69/100 (B-). This score is a composite of automated measurements of security, maintenance, community, and quality signals.
Key Takeaways
- Has Ansi has a Trust Score of 69/100 (B-).
- The score is a measured composite — it is not a suitability judgment. Evaluate the individual signals against your own requirements.
- Query the current measured values via the Nerq API.
Detailed Score Analysis
| Dimension | Score |
|---|---|
| Security | 90/100 |
| Maintenance | 50/100 |
| Popularity | 90/100 |
| Quality | 80/100 |
| Community | 30/100 |
Based on 5 dimensions. Data from npm registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard.
What data does Has Ansi collect?
Has Ansi is a Node.js package maintained by sindresorhus. It receives approximately 6,931,814 weekly downloads. Licensed under MIT.
As a development package, Has Ansi does not directly collect end-user personal data. However, applications built with it may collect data depending on implementation. Privacy score: 80/100.
Review the package's dependencies for potential supply chain risks. Run your package manager's audit command regularly.
Full analysis: Has Ansi Privacy Report · Privacy review
Is Has Ansi secure?
Security score: 90/100. Has Ansi has 0 known vulnerabilities (CVEs) in the National Vulnerability Database. This is a clean record.
Licensed under MIT, allowing code inspection. Open-source packages allow independent security review of the source code.
Run your package manager's audit command (`npm audit`, `pip audit`, `cargo audit`) to check for known vulnerabilities in your dependency tree.
Full analysis: Has Ansi Security Report
How we calculated this score
Has Ansi's trust score of 69.0/100 (B-) is computed from npm registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard. The score reflects 5 independent dimensions: security (90/100), maintenance (50/100), popularity (90/100), quality (80/100), community (30/100). Each dimension is weighted equally to produce the composite trust score.
Nerq analyzes over 7.5 million entities across 26 registries using the same methodology, enabling direct cross-entity comparison. Scores are updated continuously as new data becomes available.
Signals last measured on August 10, 2026. Data version: 1.0.
Full methodology documentation · Machine-readable data (JSON API)
Frequently Asked Questions
Is Has Ansi Safe?
What is Has Ansi's trust score?
What are safer alternatives to Has Ansi?
Does Has Ansi have known vulnerabilities?
Is Has Ansi actively maintained?
Popular in npm Packages
Browse Categories
See Also
Disclaimer: Nerq trust scores are automated measurements based on publicly available signals. They are not endorsements, verdicts, or guarantees of suitability. Always evaluate the signals against your own requirements.