Search results

1000+ packages found

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9663 dependents licensed under $MIT
1,054,624,677

Terminal string styling done right

published version 5.4.1, 5 months ago126683 dependents licensed under $MIT
1,356,039,012

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 3 years ago3847 dependents licensed under $MIT
1,625,077,426

Detect whether a terminal supports color

published version 10.0.0, 6 months ago4439 dependents licensed under $MIT
1,302,367,176

Regular expression for matching ANSI escape codes

published version 6.1.0, 9 months ago3366 dependents licensed under $MIT
973,452,473

Wordwrap a string with ANSI escape codes

published version 9.0.0, 2 years ago6344 dependents licensed under $MIT
789,458,717

Process execution for humans

published version 9.6.0, 8 days ago15031 dependents licensed under $MIT
402,945,643

Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.

published version 4.0.8, 9 months ago5103 dependents licensed under $MIT
365,216,835

ANSI escape codes for manipulating the terminal

published version 7.0.0, a year ago2722 dependents licensed under $MIT
287,237,055

Slice a string with ANSI escape codes

published version 7.1.0, 2 years ago1043 dependents licensed under $MIT
253,788,266

Gracefully restore the CLI cursor on exit

published version 5.1.0, 10 months ago1440 dependents licensed under $MIT
230,229,976

Toggle the CLI cursor

published version 5.0.0, 10 months ago1768 dependents licensed under $MIT
221,903,007

Detect whether the terminal supports Unicode

published version 2.1.0, 9 months ago1245 dependents licensed under $MIT
169,301,128

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 ago2619 dependents licensed under $MIT
150,840,140

Check if stdout or stderr is interactive

published version 2.0.0, 4 years ago1082 dependents licensed under $MIT
112,534,665

quote and parse shell commands

published version 1.8.3, 2 days ago1722 dependents licensed under $MIT
114,475,265

Truncate a string to a specific width in the terminal

published version 4.0.0, 2 years ago410 dependents licensed under $MIT
109,444,083

Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.

published version 6.1.0, 10 months ago1387 dependents licensed under $MIT
97,847,790

Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)

published version 1.2.13, 7 years ago913 dependents licensed under $MIT
49,321,364

Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`

published version 5.0.0, 2 years ago898 dependents licensed under $MIT
53,902,460