package
string-length
v6.0.0Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
node >=161 depsesmtypesopen source
- license
- MIT
- deps
- 1
- unpacked
- 4.2 kB
- files
- 5
- node
- >=16
npm install string-length@6.0.0README
GitHub-flavored package documentation.
markdown
downloads
Across all versions.
Download trend unavailable.
compatibility
Runtime metadata.
node>=16
esmtypes
keywords
Tagged topics.
unicodestringlengthsizecountastralsymbolsurrogatescodepointsansiescapecodes