Skip to content

package

string-width

v8.0.0

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

node >=202 depsesmtypesopen source
license
MIT
deps
2
unpacked
8.7 kB
files
5
node
>=20
npm install string-width@8.0.0

README

GitHub-flavored package documentation.

markdown
downloads

Across all versions.

Download trend unavailable.

compatibility

Runtime metadata.

node>=20
esmtypes
keywords

Tagged topics.

stringcharacterunicodewidthvisualcolumncolumnsfullwidthfull-widthwcwidthwcswidthfull