ansi-styles

v4.3.0

ANSI escape codes for styling strings in the terminal

MIT
Latest version published 24 days ago
    npm install ansi-styles
  
We couldn't find any similar packages Browse all packages

Package Health Score

84 / 100
  • Popularity
    Influential project
  • Maintenance
    Healthy
  • Security
    No known security issues
  • Community
    Limited

Popularity

Influential project
Weekly Downloads (54,541,666)
Dependents
996
GitHub Stars
277
Forks
55
Contributors
10

The npm package ansi-styles receives a total of 54,541,666 downloads a week. As such, we scored ansi-styles popularity level to be Influential project.

Based on project statistics from the GitHub repository for the npm package ansi-styles, we found that it has been starred 277 times, and that 996 other projects on the ecosystem are dependent on it.

Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points.

Security

No known security issues

Security and license risk for recent versions


Direct Vulnerabilities

4.0.0
4.1.0
4.2.0
4.2.1
4.3.0
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

Indirect Vulnerabilities

4.0.0
4.1.0
4.2.0
4.2.1
4.3.0
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

License Risks

4.0.0
4.1.0
4.2.0
4.2.1
4.3.0
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L

Security Policy
No
All security vulnerabilities belong to production dependencies of direct and indirect packages.

You can connect your project's repository to Snyk to stay up to date on security alerts and receive automatic fix pull requests.

We found a way for you to contribute to the project! Looks like ansi-styles is missing a security policy.

    # Install the Snyk CLI and test your project
npm i snyk && snyk test ansi-styles
Fix it in your project with Snyk!

Maintenance

Healthy
Commit Frequency
Open Issues
0
Merged PR
12
Open PR
0
Last Commit
24 days ago

Further analysis of the maintenance status of ansi-styles based on released npm versions cadence, the repository activity, and other data points determined that its maintenance is Healthy.

We found that ansi-styles demonstrates a positive version release cadence with at least one new version released in the past 3 months.

As a healthy sign for on-going project maintenance, we found that the GitHub repository had at least 1 pull request or issue interacted with by the community.

Community

Limited
Readme.md
No
Contributing.md
No
Code of Conduct
No
Contributors
10
Funding
Yes
License
MIT

This project has seen only 10 or less contributors.

We found a way for you to contribute to the project! Looks like ansi-styles is missing a Code of Conduct.

Package

Node.js Compatibility
>=8

Age
7 years
Dependencies
1 Direct / 2 Total
Versions
5
Install Size
17 kB
Dist-tags
1
# of Files
5
Maintainers
2
TS Typings
Yes

We detected a total of 2 direct & transitive dependencies for ansi-styles. See the full dependency tree of ansi-styles

ansi-styles has more than a single and default latest tag published for the npm package. This means, there may be other tags available for this package, such as next to indicate future releases, or stable to indicate stable releases.