package
string-length
v5.0.0Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
node >=12.202 depsesmopen source
- license
- MIT
- deps
- 2
- unpacked
- 4.5 kB
- files
- 5
- node
- >=12.20
npm install string-length@5.0.0README
GitHub-flavored package documentation.
markdown
downloads
Across all versions.
Download trend unavailable.
compatibility
Runtime metadata.
node>=12.20
esm
keywords
Tagged topics.
unicodestringlengthsizecountastralsymbolsurrogatescodepointsansiescapecodes