Skip to content

package

string-width

v9.0.0

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

node >=222 depsesmtypesopen source
license
MIT
deps
2
unpacked
16.8 kB
files
5
node
>=22
npm install string-width@9.0.0

README

GitHub-flavored package documentation.

markdown
downloads

Across all versions.

Download trend unavailable.

compatibility

Runtime metadata.

node>=22
esmtypes
keywords

Tagged topics.

stringcharacterunicodewidthvisualcolumncolumnsfullwidthfull-widthwcwidthwcswidthfull