An open API service for producing an overview of a list of open source projects.

https://github.com/sindresorhus/string-width

Score: 32.77473629798171

Last synced: about 22 hours ago
JSON representation

Repository metadata:

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


Owner metadata:


GitHub Events

Total
Last Year

Committers metadata

Last synced: 5 days ago

Total Commits: 81
Total Committers: 15
Avg Commits per committer: 5.4
Development Distribution Score (DDS): 0.272

Commits in past year: 16
Committers in past year: 4
Avg Commits per committer in past year: 4.0
Development Distribution Score (DDS) in past year: 0.188

Name Email Commits
Sindre Sorhus s****s@g****m 59
fisker Cheung l****y@g****m 7
Dimitri Benin B****r 2
Corey Farrell g****t@c****m 2
簡煒航 (Jian Weihang) t****n@g****m 1
刘祺 g****g@g****m 1
ehmicky e****y 1
Vinicius Lourenço 1****d 1
Shinnosuke Watanabe s****b@g****m 1
Seito Tanaka s****v@g****m 1
Richie Bendall r****l@g****m 1
LitoMore L****e 1
Hiroki Osame h****e@g****m 1
Alexander Lichter g****b@l****o 1
Adam Vandover a****m@v****e 1

Issue and Pull Request metadata

Last synced: 13 days ago

Total issues: 41
Total pull requests: 37
Average time to close issues: 11 months
Average time to close pull requests: about 2 months
Total issue authors: 35
Total pull request authors: 24
Average comments per issue: 1.88
Average comments per pull request: 0.92
Merged pull request: 23
Bot issues: 0
Bot pull requests: 0

Past year issues: 8
Past year pull requests: 6
Past year average time to close issues: about 18 hours
Past year average time to close pull requests: 11 days
Past year issue authors: 6
Past year pull request authors: 6
Past year average comments per issue: 0.75
Past year average comments per pull request: 0.67
Past year merged pull request: 4
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/sindresorhus/string-width

Top Issue Authors

  • fisker (3)
  • sindresorhus (3)
  • JoshuaWise (2)
  • jepler (2)
  • TheAlexLichter (1)
  • posva (1)
  • asos-tomp (1)
  • slevithan (1)
  • llimllib (1)
  • ehmicky (1)
  • l30t (1)
  • Aleks-gdb (1)
  • outloudvi (1)
  • EBBach (1)
  • GongT (1)

Top Pull Request Authors

  • fisker (9)
  • slevithan (2)
  • dmail (2)
  • gucong3000 (2)
  • coreyfarrell (2)
  • BendingBender (2)
  • shinnn (1)
  • tonytonyjan (1)
  • r0wanda (1)
  • Zelys-DFKH (1)
  • Offirmo (1)
  • Richienb (1)
  • joelpinheiro (1)
  • H4ad (1)
  • RobinTail (1)

Top Issue Labels

  • help wanted (3)
  • bug (2)
  • enhancement (1)

Top Pull Request Labels


Package metadata

npmjs.org: string-width

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

  • Homepage: https://github.com/sindresorhus/string-width#readme
  • Licenses: MIT
  • Latest release: 8.2.2 (published 14 days ago)
  • Last Synced: 2026-07-19T15:31:11.719Z (3 days ago)
  • Versions: 30
  • Dependent Packages: 2,714
  • Dependent Repositories: 1,106,583
  • Downloads: 2,032,163,617 Last month
  • Docker Downloads: 19,479,674,475
  • Rankings:
    • Docker downloads count: 0.001%
    • Downloads: 0.001%
    • Dependent packages count: 0.03%
    • Dependent repos count: 0.031%
    • Average: 1.304%
    • Stargazers count: 3.095%
    • Forks count: 4.671%
  • Maintainers (1)
  • Funding:
    • https://github.com/sponsors/sindresorhus
proxy.golang.org: github.com/sindresorhus/string-width

repo1.maven.org: org.webjars.npm:string-width

WebJar for string-width

  • Homepage: https://www.webjars.org
  • Documentation: https://appdoc.app/artifact/org.webjars.npm/string-width/
  • Licenses: MIT
  • Latest release: 7.2.0 (published 4 months ago)
  • Last Synced: 2026-07-17T08:54:23.298Z (5 days ago)
  • Versions: 14
  • Dependent Packages: 22
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 2.917%
    • Average: 17.448%
    • Dependent repos count: 31.98%
npmjs.org: string-width-sw

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

  • Homepage: https://github.com/sindresorhus/string-width#readme
  • Licenses: MIT
  • Latest release: 5.1.2 (published over 3 years ago)
  • Last Synced: 2026-07-17T08:54:25.978Z (5 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 18 Last month
  • Rankings:
    • Stargazers count: 4.245%
    • Forks count: 6.245%
    • Average: 23.393%
    • Dependent repos count: 25.306%
    • Dependent packages count: 32.89%
    • Downloads: 48.278%
  • Maintainers (1)
  • Funding:
    • https://github.com/sponsors/sindresorhus
npmjs.org: @depup/string-width

Get the visual width of a string - the number of columns required to display it (with updated dependencies)

  • Homepage: https://github.com/sindresorhus/string-width#readme
  • Licenses: MIT
  • Latest release: 8.2.0-depup.0 (published 4 months ago)
  • Last Synced: 2026-07-17T08:54:28.306Z (5 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 21 Last month
  • Rankings:
    • Dependent repos count: 22.356%
    • Average: 27.297%
    • Dependent packages count: 32.237%
  • Maintainers (1)
  • Funding:
    • https://github.com/sponsors/sindresorhus
repo1.maven.org: org.mvnpm:string-width

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

  • Homepage: https://github.com/sindresorhus/string-width#readme
  • Documentation: https://appdoc.app/artifact/org.mvnpm/string-width/
  • Licenses: MIT
  • Latest release: 8.2.2 (published 13 days ago)
  • Last Synced: 2026-07-17T08:54:25.357Z (5 days ago)
  • Versions: 17
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 16.833%
    • Forks count: 27.973%
    • Average: 30.907%
    • Dependent repos count: 32.443%
    • Dependent packages count: 46.381%
npmjs.org: @innei/string-width

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

  • Homepage: https://github.com/sindresorhus/string-width#readme
  • Licenses: MIT
  • Latest release: 7.0.0 (published over 2 years ago)
  • Last Synced: 2026-07-17T08:54:26.758Z (5 days ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 450 Last month
  • Rankings:
    • Dependent repos count: 36.331%
    • Average: 44.247%
    • Dependent packages count: 52.164%
  • Maintainers (1)
  • Funding:
    • https://github.com/sponsors/sindresorhus
ubuntu-24.04: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width
  • Licenses:
  • Latest release: 4.2.3+~cs13.2.3-1 (published 6 months ago)
  • Last Synced: 2026-03-06T07:02:56.800Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-22.04: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width
  • Licenses:
  • Latest release: 4.2.3+~cs13.2.3-1 (published 5 months ago)
  • Last Synced: 2026-03-07T16:32:51.236Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-13: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width
  • Documentation: https://packages.debian.org/trixie/node-string-width
  • Licenses:
  • Latest release: 4.2.3+~cs13.2.3-1 (published 5 months ago)
  • Last Synced: 2026-03-14T07:07:54.489Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.04: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width
  • Licenses:
  • Latest release: 4.2.3+~cs13.2.3-1 (published 5 months ago)
  • Last Synced: 2026-03-11T11:04:18.273Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.10: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width
  • Licenses:
  • Latest release: 4.2.3+~cs13.2.3-1 (published 5 months ago)
  • Last Synced: 2026-03-09T07:28:25.961Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-11: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width
  • Documentation: https://packages.debian.org/bullseye/node-string-width
  • Licenses:
  • Latest release: 4.2.0-1 (published 5 months ago)
  • Last Synced: 2026-03-14T02:21:41.334Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-12: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width
  • Documentation: https://packages.debian.org/bookworm/node-string-width
  • Licenses:
  • Latest release: 4.2.3+~cs13.2.3-1 (published 5 months ago)
  • Last Synced: 2026-03-13T21:49:24.199Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-20.04: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width#readme
  • Licenses:
  • Latest release: 2.1.1-1 (published 5 months ago)
  • Last Synced: 2026-03-13T18:34:33.122Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.10: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width
  • Licenses:
  • Latest release: 4.2.3+~cs13.2.3-1 (published 5 months ago)
  • Last Synced: 2026-03-13T22:20:55.725Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-10: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width#readme
  • Documentation: https://packages.debian.org/buster/node-string-width
  • Licenses:
  • Latest release: 2.1.1-1 (published 5 months ago)
  • Last Synced: 2026-03-13T15:04:50.567Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%

Dependencies

package.json npm
  • ava ^3.15.0 development
  • tsd ^0.14.0 development
  • xo ^0.38.2 development
  • eastasianwidth ^0.2.0
  • emoji-regex ^9.2.2
  • strip-ansi ^7.0.1
.github/workflows/main.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite