Get the real length of a string by correctly counting astral symbols and ignoring ANSI escape codes
—
Loading evals
Install with Tessl CLI
npx tessl i tessl/npm-string-length