GitHub
string-width
v7.2.0
Get the visual width of a string - the number of columns required to display it
string
character
unicode
width
visual
column
columns
fullwidth
full-width
and 15 more...
Readme
Versions
Dependencies
Scripts
7.2.0
7.1.0
7.0.0
6.1.0
6.0.0
5.1.2
5.1.1
5.1.0
4.2.3
5.0.1
5.0.0
4.2.2
4.2.1
4.2.0
4.1.0
4.0.0
3.1.0
3.0.0
2.1.1
2.1.0
2.0.0
1.0.2
1.0.1
1.0.0
npm i string-width
Source Code
github.com/sindresorhus/...
Homepage
github.com/sindresorhus/stri...
Metadata
MIT
>=18
Sindre Sorhus
released 6/30/2024
Downloads
Downloads Tab Here
Maintainers
Sindre Sorhus