Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
MIT License
Truncate a string to a specific width in the terminal
Get the visual width of a string - the number of columns required to display it
&🐐; Escape a string for use in HTML or the inverse
Normalize the newline characters in a string to `\n`
Strip leading whitespace from each line in a string
Indent each line in a string
Escape a string for use in AppleScript
Strip redundant indentation and indent the string
Turn an object into a string of HTML attributes
Check if the character represented by a given Unicode code point is fullwidth
Escape RegExp special characters
Strip the final newline character from a string/buffer
Determine the East Asian Width of a Unicode character
Get the visual width of the widest line in a string - the number of columns required to display it