ansi-regex
Regular expression for matching ANSI escape codes
has-ansi
Check if a string has ANSI escape codes
didyoumean2
a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm
leven
Measure the difference between two strings using the Levenshtein distance algorithm