Search results

1000+ packages found

mock stdio output for tests

published version 1.0.3, 7 years ago0 dependents licensed under $ISC
757

Quickly mock various console methods in Vitest and track their calls with custom matchers

published version 0.1.1, 2 years ago0 dependents licensed under $MIT
1,257

@alicloud/console-fetcher 请求拦截 - mock 转接

published version 1.4.9, 2 years ago0 dependents licensed under $MIT
173

Mock the 'console' (ie log, info, error) for testing

published version 3.0.0, 3 years ago0 dependents licensed under $MIT
55

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9397 dependents licensed under $MIT
820,759,360

Terminal string styling done right

published version 5.4.1, a day ago120615 dependents licensed under $MIT
1,207,862,244

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 2 years ago3734 dependents licensed under $MIT
1,411,205,321

Detect whether a terminal supports color

published version 10.0.0, 4 days ago4282 dependents licensed under $MIT
1,230,264,355

Wordwrap a string with ANSI escape codes

published version 9.0.0, a year ago6165 dependents licensed under $MIT
604,029,935

Regular expression for matching ANSI escape codes

published version 6.1.0, 3 months ago3261 dependents licensed under $MIT
761,130,582

Get the visual width of a string - the number of columns required to display it

published version 7.2.0, 6 months ago6539 dependents licensed under $MIT
674,562,910

The tiniest and the fastest library for terminal output formatting with ANSI colors

published version 1.1.1, 2 months ago4320 dependents licensed under $ISC
279,755,720

easily create complex multi-column command-line-interfaces

published version 8.0.1, 2 years ago2118 dependents licensed under $ISC
374,240,854

Gracefully restore the CLI cursor on exit

published version 5.1.0, 5 months ago1415 dependents licensed under $MIT
187,151,320

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

published version 3.1.0, a year ago2152 dependents licensed under $MIT
170,084,509

ANSI escape codes for manipulating the terminal

published version 7.0.0, 8 months ago2617 dependents licensed under $MIT
228,217,786

Toggle the CLI cursor

published version 5.0.0, 5 months ago1728 dependents licensed under $MIT
187,329,816

Slice a string with ANSI escape codes

published version 7.1.0, a year ago1004 dependents licensed under $MIT
210,020,404

easily create complex multi-column command-line-interfaces

published version 8.0.2, 2 years ago6 dependents licensed under $ISC
108,406,347

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).

published version 4.1.3, 3 years ago2523 dependents licensed under $MIT
132,688,547