Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Strip ANSI escape codes from a string
Terminal string styling done right
ANSI escape codes for styling strings in the terminal
Check if argv has a specific flag
Detect whether a terminal supports color
Regular expression for matching ANSI escape codes
Get the visual width of a string - the number of columns required to display it
Wordwrap a string with ANSI escape codes
easily create complex multi-column command-line-interfaces
Slice a string with ANSI escape codes
ANSI escape codes for manipulating the terminal
Gracefully restore the CLI cursor on exit
Get your PATH prepended with locally installed binaries
Toggle the CLI cursor
Unicode symbols with fallbacks for older terminals
easily create complex multi-column command-line-interfaces
Colored symbols for various log levels. Example: `✔︎ Success`
A collection of common interactive command line user interfaces.
- answer
- answers
- ask
- base
- cli
- command
- command-line
- confirm
- enquirer
- generate
- generator
- hyper
- input
- inquire
- View more
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).
Lightweight, beautiful and user-friendly prompts