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
Wordwrap a string with ANSI escape codes
easily create complex multi-column command-line-interfaces
ANSI escape codes for manipulating the terminal
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Toggle the CLI cursor
Gracefully restore the CLI cursor on exit
Slice a string with ANSI escape codes
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).
CLI app helper
Check if a string has ANSI escape codes
Get the visual width of the widest line in a string - the number of columns required to display it
Create boxes in the terminal
Execute shell command forwarding all stdio.
Boxes for use in the terminal
The fastest Node.js library for formatting terminal text with ANSI colors~!