cli-width

v3.0.0

Get stdout window width, with two fallbacks, tty and then a default.

ISC
Latest version published 6 months ago
    npm install cli-width
  

Package Health Score

70 / 100
  • Popularity
    Influential project
  • Maintenance
    Sustainable
  • Security
    No known security issues
  • Community
    Limited

Popularity

Influential project
Weekly Downloads (16,857,108)
Dependents
233
GitHub Stars
20
Forks
7
Contributors
8

The npm package cli-width receives a total of 16,857,108 downloads a week. As such, we scored cli-width popularity level to be Influential project.

Based on project statistics from the GitHub repository for the npm package cli-width, we found that it has been starred 20 times, and that 233 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

2.1.0
2.1.1
2.2.0
2.2.1
3.0.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

2.1.0
2.1.1
2.2.0
2.2.1
3.0.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

2.1.0
2.1.1
2.2.0
2.2.1
3.0.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 cli-width is missing a security policy.

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

Maintenance

Sustainable
Commit Frequency
Open Issues
1
Merged PR
9
Open PR
1
Last Commit
3 months ago

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

We found that cli-width demonstrates a positive version release cadence with at least one new version released in the past 12 months.

In the past month we didn't find any pull request activity or change in issues status has been detected for the GitHub repository.

Community

Limited
Readme.md
Yes
Contributing.md
No
Code of Conduct
No
Contributors
8
Funding
Yes
License
ISC

This project has seen only 10 or less contributors.

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

Package

Node.js Compatibility
>= 10

Age
6 years
Dependencies
0 Direct / 0 Total
Versions
5
Install Size
11.5 kB
Dist-tags
1
# of Files
9
Maintainers
2
TS Typings
No

cli-width 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.