Skip to content

package

string-length

v4.0.1

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

node >=102 depscjsopen source
license
MIT
deps
2
unpacked
4.0 kB
files
5
node
>=10
npm install string-length@4.0.1

README

GitHub-flavored package documentation.

markdown
downloads

Across all versions.

Download trend unavailable.

compatibility

Runtime metadata.

node>=10
cjs
keywords

Tagged topics.

unicodestringlengthsizecountastralsymbolsurrogatescodepointsansiescapecodes