string-width
Get the visual width of a string - the number of columns required to display it
29
Versions
MIT
License
No
Install Scripts
Maintainers
sindresorhus
Keywords
stringcharacterunicodewidthvisualcolumncolumnsfullwidthfull-widthwcwidthwcswidthfullansiescapecodesclicommand-lineterminalconsolecjkchinesejapanesekoreanfixed-widtheast-asian-width
Versions (showing 29 of 29)
| Version | Deps | Published |
|---|---|---|
| 8.2.1 | 2 / 3 | |
| 8.2.0 | 2 / 3 | |
| 8.1.1 | 2 / 3 | |
| 8.1.0 | 2 / 3 | |
| 8.0.0 | 2 / 3 | |
| 7.2.0 | 3 / 3 | |
| 7.1.0 | 3 / 3 | |
| 7.0.0 | 3 / 3 | |
| 6.1.0 | 3 / 3 | |
| 6.0.0 | 3 / 3 | |
| 5.1.2 | 3 / 3 | |
| 5.1.1 | 3 / 3 | |
| 5.1.0 | 3 / 3 | |
| 5.0.1 | 3 / 3 | |
| 5.0.0 | 3 / 3 | |
| 4.2.3 | 3 / 3 | |
| 4.2.2 | 3 / 3 | |
| 4.2.1 | 3 / 3 | |
| 4.2.0 | 3 / 3 | |
| 4.1.0 | 3 / 3 | |
| 4.0.0 | 3 / 3 | |
| 3.1.0 | 3 / 2 | |
| 3.0.0 | 3 / 2 | |
| 2.1.1 | 2 / 2 | |
| 2.1.0 | 2 / 2 | |
| 2.0.0 | 2 / 2 | |
| 1.0.2 | 3 / 2 | |
| 1.0.1 | 3 / 1 | |
| 1.0.0 | 3 / 1 |