Is Has Ansi Safe?

Has Ansi — Nerq Trust Score 69.0/100 (B- grade). Based on analysis of 2 trust dimensions, it is generally safe but has some concerns. Last updated: 2026-07-29.

Use Has Ansi with some caution. Has Ansi is a npm package with a Nerq Trust Score of 69.0/100 (B-), based on 3 independent data dimensions. Below the recommended threshold of 70. Security: 90/100. Popularity: 90/100. Data sourced from npm registry, GitHub repository, NVD, OSV.dev, and OpenSSF Scorecard. Last updated: 2026-07-27. Machine-readable data (JSON).

Is Has Ansi safe?

CAUTION — Has Ansi has a Nerq Trust Score of 69.0/100 (B-). It has moderate trust signals but shows some areas of concern that warrant attention. Suitable for development use — review security and maintenance signals before production deployment.

Security Analysis → Has Ansi Privacy Report →

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.

Security
90
Popularity
90

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. It has not yet reached the Nerq Verified threshold of 70+.

Security score: 90/100 (strong)
Popularity: 90/100 — community adoption

What is Has Ansi and who maintains it?

Authorsindresorhus
Categorynpm Packages
SourceN/A

Similar Npm by Trust Score

@vertesia/plugin-builder (79)emnapi (79)youtube-video-element (79)cypress-localstorage-commands (79)portal-vue (79)
See all safest Npm →

Compare

Has Ansi vs @vertesia/plugin-builderHas Ansi vs emnapiHas Ansi vs youtube-video-element

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.

Trust Assessment

Has Ansi has a Nerq Trust Score of 69/100 (B-) and has not yet reached Nerq trust threshold (70+). This score is based on automated analysis of security, maintenance, community, and quality signals.

Key Takeaways

Detailed Score Analysis

DimensionScore
Security90/100
Maintenance50/100
Popularity90/100
Quality80/100
Community30/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.

This page was last reviewed on July 29, 2026. Data version: 1.0.

Full methodology documentation · Machine-readable data (JSON API)

Frequently Asked Questions

Is Has Ansi Safe?
Use with some caution. has-ansi with a Nerq Trust Score of 69.0/100 (B-). Strongest signal: security (90/100). Score based on Security (90/100), Popularity (90/100).
What is Has Ansi's trust score?
has-ansi: 69.0/100 (B-). Score based on Security (90/100), Popularity (90/100). Scores update as new data becomes available. API: GET nerq.ai/v1/preflight?target=has-ansi
What are safer alternatives to Has Ansi?
In the npm Packages category, more Node.js packages are being analyzed — check back soon. has-ansi scores 69.0/100.
Does Has Ansi have known vulnerabilities?
Nerq checks Has Ansi against NVD, OSV.dev, and registry-specific vulnerability databases. Current security score: 90/100. Run your package manager's audit command for the latest findings.
Is Has Ansi actively maintained?
Has Ansi maintenance score: N/A. Check the repository for recent commit activity and issue responsiveness.
API: /v1/preflight Trust Badge API Docs

See Also

Disclaimer: Nerq trust scores are automated assessments based on publicly available signals. They are not endorsements or guarantees. Always conduct your own due diligence.

We use cookies for analytics and caching. Privacy