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
Check if argv has a specific flag
Wordwrap a string with ANSI escape codes
easily create complex multi-column command-line-interfaces
Get your PATH prepended with locally installed binaries
ANSI escape codes for manipulating the terminal
Unicode symbols with fallbacks for older terminals
Toggle the CLI cursor
Gracefully restore the CLI cursor on exit
A collection of common interactive command line user interfaces.
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).
Colored symbols for various log levels. Example: `✔︎ Success`
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
Lightweight, beautiful and user-friendly prompts