Search results

1000+ packages found

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 3 years ago3833 dependents licensed under $MIT
1,448,026,747

Terminal string styling done right

published version 5.4.1, 5 months ago125460 dependents licensed under $MIT
1,202,031,991

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9586 dependents licensed under $MIT
938,503,732

Wordwrap a string with ANSI escape codes

published version 9.0.0, 2 years ago6281 dependents licensed under $MIT
708,732,193

Regular expression for matching ANSI escape codes

published version 6.1.0, 8 months ago3345 dependents licensed under $MIT
862,773,471

Get a stream as a string, Buffer, ArrayBuffer or array

published version 9.0.1, a year ago2601 dependents licensed under $MIT
437,740,844

fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.

published version 11.3.0, 4 months ago72468 dependents licensed under $MIT
433,149,082

Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`

published version 8.0.0, 2 years ago7342 dependents licensed under $MIT
383,969,784

Strip UTF-8 byte order mark (BOM) from a string

published version 5.0.0, 4 years ago2135 dependents licensed under $MIT
300,724,815

ANSI escape codes for manipulating the terminal

published version 7.0.0, a year ago2699 dependents licensed under $MIT
250,688,123

A JavaScript text diff implementation.

published version 7.0.0, 8 months ago6792 dependents licensed under $BSD-3-Clause
205,369,936

Slice a string with ANSI escape codes

published version 7.1.0, 2 years ago1040 dependents licensed under $MIT
223,398,663

Indent each line in a string

published version 5.0.0, 4 years ago1770 dependents licensed under $MIT
190,501,882

Wrap words to a specified length.

published version 1.2.5, 2 years ago2056 dependents licensed under $MIT
163,561,224

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 ago2609 dependents licensed under $MIT
133,234,584

borderless text tables with alignment

published version 0.2.0, 12 years ago2494 dependents licensed under $MIT
145,218,480

Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow

published version 6.0.0, 4 years ago2080 dependents licensed under $MIT
150,130,933

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 4 years ago1595 dependents licensed under $MIT
121,081,578

Truncate a string to a specific width in the terminal

published version 4.0.0, 2 years ago406 dependents licensed under $MIT
96,960,890

Generate a unique random string

published version 3.0.0, 4 years ago722 dependents licensed under $MIT
68,663,191
OSZAR »