string-width
Get the visual width of a string - the number of columns required to display it
chalk
Terminal string styling done right
ansi-regex
Regular expression for matching ANSI escape codes
anymatch
Matches strings against configurable strings, globs, regular expressions, and/or functions