string-width
Get the visual width of a string - the number of columns required to display it
Facts
12 properties- Instance of
- JavaScript library
- Inception
- July 16, 2015as of 2026-08-27
where from?
- Edition
- 2026-08-27 · as of 2026-08-27 · newer edition 20260903 landed
- Bronze
- not in the catalog
- Transform
- 4ort-mint · oss_kb:20260903 · version not recorded
- Official website
- github.com
- Copyright license
- MIT License
- Copyright status
- copyrighted
- Depends on software
- emoji-regex, is-fullwidth-code-point, strip-ansi, eastasianwidth
- GitHub stars
- 529 (2026)as of 2026-08-27
where from?
- Edition
- 2026-08-27 · as of 2026-08-27 · newer edition 20260903 landed
- Bronze
- not in the catalog
- Transform
- 4ort-mint · oss_kb:20260903 · version not recorded
- Last activity on GitHub
- July 8, 2026 (2026)as of 2026-08-27
where from?
- Edition
- 2026-08-27 · as of 2026-08-27 · newer edition 20260903 landed
- Bronze
- not in the catalog
- Transform
- 4ort-mint · oss_kb:20260903 · version not recorded
- Operating system
- cross-platform
- Programmed in
- JavaScript
- Repository status
- mature (2026)as of 2026-08-27
where from?
- Edition
- 2026-08-27 · as of 2026-08-27 · newer edition 20260903 landed
- Bronze
- not in the catalog
- Transform
- 4ort-mint · oss_kb:20260903 · version not recorded
- Software version identifier
- 1.0.0, 1.0.1, 1.0.2, 2.0.0, 2.1.0, 2.1.1, 3.0.0, 3.1.0, 4.0.0, 4.1.0, 4.2.0, 4.2.1
+20 more
4.2.2, 5.0.0, 4.2.3, 5.0.1, 5.1.0, 5.1.1, 5.1.2, 6.0.0, 6.1.0, 7.0.0, 7.1.0, 7.2.0, 8.0.0, 8.1.0, 8.1.1, 8.2.0, 8.2.1, 8.2.2, 8.3.0, 9.0.0
🏷️ Also known as
en string-width
🔖 Identifiers · 3
- Issue tracker URL
- github.com
- Npm package
- string-width
- Source code repository URL
- github.com
📚 Sources · 1
Press Enter · cited answer in seconds
0 sources
Key Facts
- Copyright license: MIT License[1]
- Programmed in: JavaScript[2]
- Operating system: cross-platform[3]
- Software version identifier: 1.0.0[4], 1.0.1[5], 1.0.2[6], 2.0.0[7], 2.1.0[8], 2.1.1[9], 3.0.0[10], 3.1.0[11], 4.0.0[12], 4.1.0[13], 4.2.0[14], 4.2.1[15], 4.2.2[16], 5.0.0[17]
- Inception: July 16, 2015[18]
- Official website: https://github.com/sindresorhus/string-width#readme[19]
- Depends on software: emoji-regex[20], is-fullwidth-code-point[21], strip-ansi[22], eastasianwidth[23]
- Copyright status: copyrighted[24]
- 4ort:last_active: July 8, 2026[25]
- 4ort:github_stars: 529[26]
- 4ort:health_status: mature[27]