Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
mock stdio output for tests
Quickly mock various console methods in Vitest and track their calls with custom matchers
@alicloud/console-fetcher 请求拦截 - mock 转接
Mock the 'console' (ie log, info, error) for testing
Strip ANSI escape codes from a string
Terminal string styling done right
ANSI escape codes for styling strings in the terminal
Detect whether a terminal supports color
Wordwrap a string with ANSI escape codes
Regular expression for matching ANSI escape codes
Get the visual width of a string - the number of columns required to display it
The tiniest and the fastest library for terminal output formatting with ANSI colors
easily create complex multi-column command-line-interfaces
Gracefully restore the CLI cursor on exit
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
ANSI escape codes for manipulating the terminal
Toggle the CLI cursor
Slice a string with ANSI escape codes
easily create complex multi-column command-line-interfaces
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).