string-width

v7.2.0

Get the visual width of a string - the number of columns required to display it For more information about how to use this package see README

Latest version published 6 months ago
License: MIT

Ensure you're using the healthiest npm packages

Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice

Package Health Score

78 / 100

Security

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

Security and license risk for significant versions

All Versions
Version Vulnerabilities License Risk
7.2.0 | 06/2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
7.1.0 | 01/2024
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
6.1.0 | 05/2023
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
5.1.2 | 02/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
License
MIT
Security Policy
Yes

Is your project affected by vulnerabilities?

Scan your projects for vulnerabilities. Fix quickly with automated fixes. Get started with Snyk for free.

Get started free

Popularity

Influential project

Weekly Downloads (131,881,864)

Download trend
GitHub Stars
483
Forks
31
Contributors
20

Direct Usage Popularity

TOP 5%

The npm package string-width receives a total of 131,881,864 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 483 times.

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

Community

Sustainable
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: 78/100 package health 78/100

Maintenance

Sustainable

Commit Frequency

Open Issues
7
Open PR
2
Last Release
6 months ago
Last Commit
6 months 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 Sustainable.

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

Package

Node.js Compatibility
>=18

Age
9 years
Dependencies
3 Direct
Versions
25
Install Size
7.77 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.