Search results

1000+ packages found

Text diff algorithm based on 'An O(NP) Sequence Comparison Algorithm' from Sun Wu, Udi Manber and Gene Myers

published version 2.0.4, 2 years ago1 dependents licensed under $MIT
1,604

Copy text to the clipboard in modern browsers (0.2 kB)

published version 3.2.0, 2 years ago231 dependents licensed under $MIT
1,350,620

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 3 years ago1557 dependents licensed under $MIT
87,528,670

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 2 years ago3759 dependents licensed under $MIT
1,118,385,852

Terminal string styling done right

published version 5.4.1, 25 days ago121216 dependents licensed under $MIT
942,942,148

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9418 dependents licensed under $MIT
657,530,180

Wordwrap a string with ANSI escape codes

published version 9.0.0, a year ago6185 dependents licensed under $MIT
473,129,180

The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.

published version 1.1.6, 6 years ago225 dependents licensed under $MIT
11,293,007

Regular expression for matching ANSI escape codes

published version 6.1.0, 4 months ago3274 dependents licensed under $MIT
604,976,236

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.2.0, a year ago70061 dependents licensed under $MIT
328,624,308

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

published version 9.0.1, 10 months ago2552 dependents licensed under $MIT
331,802,202

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

published version 8.0.0, a year ago7272 dependents licensed under $MIT
281,862,454

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

published version 5.0.0, 4 years ago2098 dependents licensed under $MIT
214,368,180

A JavaScript text diff implementation.

published version 7.0.0, 4 months ago6598 dependents licensed under $BSD-3-Clause
149,664,403

ANSI escape codes for manipulating the terminal

published version 7.0.0, 8 months ago2632 dependents licensed under $MIT
180,259,819

Slice a string with ANSI escape codes

published version 7.1.0, a year ago1010 dependents licensed under $MIT
163,720,808

Indent each line in a string

published version 5.0.0, 4 years ago1739 dependents licensed under $MIT
139,296,606

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 ago2534 dependents licensed under $MIT
100,647,004

borderless text tables with alignment

published version 0.2.0, 11 years ago2468 dependents licensed under $MIT
108,705,229

Wrap words to a specified length.

published version 1.2.5, a year ago2004 dependents licensed under $MIT
105,831,616