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, 3 years ago1 dependents licensed under $MIT
1,461

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

published version 3.2.0, 2 years ago238 dependents licensed under $MIT
2,782,975

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 4 years ago1609 dependents licensed under $MIT
169,386,463

Terminal string styling done right

published version 5.4.1, 6 months ago128228 dependents licensed under $MIT
1,614,938,503

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 3 years ago3865 dependents licensed under $MIT
1,943,590,744

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9725 dependents licensed under $MIT
1,220,035,608

Wordwrap a string with ANSI escape codes

published version 9.0.0, 2 years ago6364 dependents licensed under $MIT
892,958,007

Regular expression for matching ANSI escape codes

published version 6.1.0, 10 months ago3384 dependents licensed under $MIT
1,144,967,022

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

published version 1.1.6, 6 years ago232 dependents licensed under $MIT
19,950,085

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

published version 8.0.0, 2 years ago7379 dependents licensed under $MIT
546,409,561

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

published version 9.0.1, a year ago2615 dependents licensed under $MIT
576,176,748

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, 5 months ago73948 dependents licensed under $MIT
539,252,789

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

published version 5.0.0, 4 years ago2148 dependents licensed under $MIT
414,779,226

ANSI escape codes for manipulating the terminal

published version 7.0.0, a year ago2740 dependents licensed under $MIT
340,206,044

Slice a string with ANSI escape codes

published version 7.1.0, 2 years ago1046 dependents licensed under $MIT
298,770,393

[![npm-version](https://img.shields.io/npm/v/levenary.svg)](https://www.npmjs.com/package/levenary) [![github-actions](https://github.com/tanhauhau/levenary/workflows/CI/badge.svg)](https://github.com/tanhauhau/levenary/actions)

published version 1.1.1, 5 years ago88 dependents licensed under $MIT
7,080,362

Indent each line in a string

published version 5.0.0, 4 years ago1790 dependents licensed under $MIT
260,223,342

A JavaScript text diff implementation.

published version 8.0.2, a month ago6925 dependents licensed under $BSD-3-Clause
273,097,915

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 ago2641 dependents licensed under $MIT
188,764,737

Wrap words to a specified length.

published version 1.2.5, 2 years ago2076 dependents licensed under $MIT
223,967,777