string-width

v5.1.0

Get the visual width of a string - the number of columns required to display it

MIT
Latest version published 9 days ago
    npm install string-width
  

Package Health Score

88 / 100

Security

No known security issues
Powered by Snyk
All security vulnerabilities belong to production dependencies of direct and indirect packages.

Security and license risk for significant versions

Version Vulnerabilities License Risk
5.1.0 | 01/2022
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
4.2.3 | 09/2021
Popular
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
5.0.1 | 09/2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
3.1.0 | 03/2019
  • 0
    H
  • 0
    M
  • 0
    L
3.0.0 | 12/2018
  • 0
    H
  • 0
    M
  • 0
    L
License
MIT
Security Policy
Yes

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

    # Install the Snyk CLI and test your project
npm i snyk -g && snyk test string-width
Get started free

Popularity

Influential project

Weekly Downloads (89,812,779)

Download trend
Dependents
828
GitHub Stars
297
Forks
22
Contributors
20

Direct Usage Popularity

TOP 5%

The npm package string-width receives a total of 89,812,779 downloads a week. As such, we scored string-width popularity level to be Influential project.

Based on project statistics from the GitHub repository for the npm package string-width, we found that it has been starred 297 times, and that 828 other projects in 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.

Community

Active
Readme.md
Yes
Contributing.md
No
Code of Conduct
Yes
Contributors
20
Funding
Yes

With more than 10 contributors for the string-width repository, this is possibly a sign for a growing and inviting community.


Embed Package Health Score Badge

package health: 88/100 package health 88/100

Maintenance

Healthy

Commit Frequency

Open Issues
3
Open PR
0
Last Release
9 days ago
Last Commit
9 days ago

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

We found that string-width 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.

Package

Node.js Compatibility
>=12

Age
7 years
Dependencies
3 Direct
Versions
18
Install Size
5.75 kB
Dist-tags
2
# of Files
5
Maintainers
1
TS Typings
No

string-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.