supports-color
Detect whether a terminal supports color
Detect whether a terminal supports color
Terminal string styling done right
Regular expression for matching ANSI escape codes
Strip ANSI escape codes from a string
ANSI escape codes for styling strings in the terminal
Plain color conversion functions
Wordwrap a string with ANSI escape codes
ANSI escape codes for manipulating the terminal
Toggle the CLI cursor
Gracefully restore the CLI cursor on exit
Slice a string with ANSI escape codes
get colors in your node.js console
Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).
Formats data into a string table.
Check if a string has ANSI escape codes
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
🌈Easily set your terminal text color & styles.
Get the visual width of the widest line in a string - the number of columns required to display it
The fastest Node.js library for formatting terminal text with ANSI colors~!
ANSI escape codes for some terminal swag