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

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

Score: 32.765913703849286

Last synced: about 12 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: 1 day ago

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

Commits in past year: 11
Committers in past year: 3
Avg Commits per committer in past year: 3.667
Development Distribution Score (DDS) in past year: 0.182

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: 1 day ago

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

Past year issues: 7
Past year pull requests: 6
Past year average time to close issues: about 20 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.71
Past year average comments per pull request: 1.0
Past year merged pull request: 3
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)
  • ranihorev (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 2 months ago)
  • Last Synced: 2026-09-08T21:15:39.172Z (1 day ago)
  • Versions: 30
  • Dependent Packages: 2,714
  • Dependent Repositories: 1,106,583
  • Downloads: 1,843,197,885 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: 8.2.2 (published about 1 month ago)
  • Last Synced: 2026-09-08T21:01:49.195Z (1 day ago)
  • Versions: 15
  • 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-09-08T21:08:11.553Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 19 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.2-depup.7 (published about 2 months ago)
  • Last Synced: 2026-09-08T21:08:23.212Z (1 day ago)
  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 34 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 2 months ago)
  • Last Synced: 2026-09-08T21:02:06.739Z (1 day 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 almost 3 years ago)
  • Last Synced: 2026-09-08T21:20:30.419Z (1 day ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 352 Last month
  • Rankings:
    • Dependent repos count: 36.331%
    • Average: 44.247%
    • Dependent packages count: 52.164%
  • Maintainers (1)
  • Funding:
    • https://github.com/sponsors/sindresorhus
debian-10: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width#readme
  • Documentation: https://packages.debian.org/buster/node-string-width
  • Licenses: mit
  • Latest release: 2.1.1-1 (published 7 months ago)
  • Last Synced: 2026-09-03T00:26:11.897Z (7 days 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: mit
  • Latest release: 4.2.3+~cs13.2.3-1 (published 7 months ago)
  • Last Synced: 2026-09-01T18:28:32.176Z (9 days 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: mit
  • Latest release: 4.2.3+~cs13.2.3-1 (published 7 months ago)
  • Last Synced: 2026-09-08T06:33:41.895Z (2 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.04: node-string-width

  • Homepage: https://github.com/sindresorhus/string-width
  • Licenses: mit
  • Latest release: 4.2.3+~cs13.2.3-1 (published 7 months ago)
  • Last Synced: 2026-09-08T06:33:58.212Z (2 days 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: mit
  • Latest release: 4.2.3+~cs13.2.3-1 (published 7 months ago)
  • Last Synced: 2026-09-08T06:35:16.915Z (2 days 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: mit
  • Latest release: 4.2.3+~cs13.2.3-1 (published 7 months ago)
  • Last Synced: 2026-09-08T06:33:53.109Z (2 days 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: mit
  • Latest release: 2.1.1-1 (published 7 months ago)
  • Last Synced: 2026-09-08T06:32:13.063Z (2 days 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: mit
  • Latest release: 4.2.3+~cs13.2.3-1 (published 7 months ago)
  • Last Synced: 2026-09-08T06:34:20.569Z (2 days 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: mit
  • Latest release: 4.2.3+~cs13.2.3-1 (published 7 months ago)
  • Last Synced: 2026-09-08T06:34:18.431Z (2 days 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: mit
  • Latest release: 4.2.0-1 (published 7 months ago)
  • Last Synced: 2026-09-08T06:31:39.158Z (2 days 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