string-length
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
String#length
errornously counts astral symbols as two characters.
Install
Usage
Related
string-width - Get visual width of a string
License
MIT © Sindre Sorhus
Last updated