Extra Credit

string-length

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

$npm install string-length

Official docs outline

Extra Credit builds an outline of string-length's docs the first time your work uses it. Until then, start at the official documentation.

All 9,484