package
string-length
v7.0.1Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
node >=200 depsesmtypesopen source
- license
- MIT
- deps
- 0
- unpacked
- 4.3 kB
- files
- 5
- node
- >=20
npm install string-length@7.0.1README
GitHub-flavored package documentation.
markdown
downloads
Across all versions.
Download trend unavailable.
compatibility
Runtime metadata.
node>=20
esmtypes
keywords
Tagged topics.
unicodestringlengthsizecountastralsymbolsurrogatescodepointsansiescapecodes