Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Text diff algorithm based on 'An O(NP) Sequence Comparison Algorithm' from Sun Wu, Udi Manber and Gene Myers
Copy text to the clipboard in modern browsers (0.2 kB)
Measure the difference between two strings using the Levenshtein distance algorithm
- leven
- levenshtein
- distance
- algorithm
- string
- difference
- diff
- fast
- fuzzy
- similar
- similarity
- compare
- comparison
- edit
- View more
ANSI escape codes for styling strings in the terminal
Terminal string styling done right
Strip ANSI escape codes from a string
Wordwrap a string with ANSI escape codes
The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.
- levenshtein
- distance
- algorithm
- algo
- string
- difference
- diff
- fast
- fuzzy
- similar
- similarity
- compare
- comparison
- edit
- View more
Regular expression for matching ANSI escape codes
fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.
Get a stream as a string, Buffer, ArrayBuffer or array
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Strip UTF-8 byte order mark (BOM) from a string
A JavaScript text diff implementation.
ANSI escape codes for manipulating the terminal
Slice a string with ANSI escape codes
Indent each line in a string
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).
borderless text tables with alignment
Wrap words to a specified length.