Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes. Latest version: 6.0.0, last published: 2 years ago. Start using string-length in your project by running `npm i string-length`. There are 1171 other projects in the npm registry using string-lengtā¦