Search results

1000+ packages found

Calculate hamming distance for string and integer

published version 1.0.3, 4 years ago0 dependents licensed under $ISC
20

Efficient implementation of Levenshtein algorithm with locale-specific collator support.

published version 3.0.0, 4 years ago1919 dependents licensed under $MIT
197,830,997

Calculate the Hamming distance between two equal-length strings.

published version 0.2.2, 4 months ago1 dependents licensed under $Apache-2.0
34

Lazy brush - smooth drawing using mouse or finger

published version 2.0.2, 3 months ago39 dependents licensed under $MIT
81,405

Sort array of strings by Levenshtein (Sift4) distance

published version 1.1.0, 9 years ago1 dependents licensed under $ISC
31

ANSI escape codes for styling strings in the terminal

published version 6.2.1, 2 years ago3706 dependents licensed under $MIT
1,575,682,742

Terminal string styling done right

published version 5.3.0, a year ago120036 dependents licensed under $MIT
1,349,789,909

Strip ANSI escape codes from a string

published version 7.1.0, 2 years ago9365 dependents licensed under $MIT
901,050,932

Get the native type of a value.

published version 6.0.3, 5 years ago2051 dependents licensed under $MIT
663,545,313

Regular expression for matching ANSI escape codes

published version 6.1.0, 3 months ago3238 dependents licensed under $MIT
845,405,841

Escape RegExp special characters

published version 5.0.0, 4 years ago5289 dependents licensed under $MIT
583,585,481

Get Jaccard distance between strings.

published version 1.1.3, 6 years ago1 dependents licensed under $MIT
11

Get the visual width of a string - the number of columns required to display it

published version 7.2.0, 5 months ago6523 dependents licensed under $MIT
725,479,331

Wordwrap a string with ANSI escape codes

published version 9.0.0, a year ago6149 dependents licensed under $MIT
617,700,366

Reasonably efficient and concise exact longest common subsequence and minimum edit-distance algorithm implementation for JavaScript

published version 1.1.0, 3 years ago0 dependents licensed under $AGPL-3.0
22

Calculate string distance using Damerau–Levenshtein method.

published version 1.0.0, 2 months ago0 dependents licensed under $MIT
12

The string_decoder module from Node core

published version 1.3.0, 5 years ago2500 dependents licensed under $MIT
506,420,100

Check if the character represented by a given Unicode code point is fullwidth

published version 5.0.0, a year ago2673 dependents licensed under $MIT
503,198,749

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

published version 9.0.1, 9 months ago2538 dependents licensed under $MIT
458,163,018

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

published version 8.0.0, a year ago7235 dependents licensed under $MIT
395,904,916