ansi-truncate (npm): A tiny function for truncating a string that may contain ANSI escape sequences.
Keywords: ansi|truncate