string-width

v5.1.2

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 9 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

77 / 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
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
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
    C
  • 0
    H
  • 0
    M
  • 0
    L
  • 0
    H
  • 0
    M
  • 0
    L
3.0.0 | 12/2018
  • 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 (73,722,316)

Download trend
Dependents
828
GitHub Stars
357
Forks
24
Contributors
20

Direct Usage Popularity

TOP 5%

The npm package string-width receives a total of 73,722,316 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 357 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

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

Maintenance

Sustainable

Commit Frequency

Open Issues
5
Open PR
0
Last Release
9 months ago
Last Commit
9 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
>=12

Age
7 years
Dependencies
3 Direct
Versions
20
Install Size
5.78 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.