https://github.com/chalk/chalk [email protected]
Terminal string styling done right
chalk
🖍 Terminal string styling done right
ANSI escape codes for styling strings in the terminal
Regular expression for matching ANSI escape codes
Strip ANSI escape codes from a string
Detect whether a terminal supports color
Check if a string has ANSI escape codes
Slice a string with ANSI escape codes
Strip ANSI escape codes