Search results

1000+ packages found

A JavaScript text diff implementation.

published version 8.0.2, 17 days ago6851 dependents licensed under $BSD-3-Clause
236,915,079

Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

published version 1.4.0, 9 years ago1758 dependents licensed under $MIT
216,104,545

node's assert.deepEqual algorithm except for NaN being equal to NaN

published version 0.1.4, 4 years ago1688 dependents licensed under $MIT
214,730,083

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 4 years ago1611 dependents licensed under $MIT
142,611,699

Type check values

published version 7.0.2, 4 days ago336 dependents licensed under $MIT
99,013,129

node's assert.deepEqual algorithm

published version 2.2.3, 2 years ago3489 dependents licensed under $MIT
90,515,688

Damerau - Levenshtein distance by The Spanish Inquisition + relative distance

published version 1.0.8, 3 years ago559 dependents licensed under $BSD-2-Clause
69,160,031

Fastest deep equal comparison for React. Great for React.memo & shouldComponentUpdate. Also really fast general-purpose deep comparison.

published version 3.2.2, 2 years ago1123 dependents licensed under $MIT
49,497,466

Like lodash isEqualWith but for shallow equal.

published version 1.1.0, 7 years ago1626 dependents licensed under $MIT
39,002,179

Compare strings containing a mix of letters and numbers in the way a human being would in sort order.

published version 1.4.0, 10 years ago563 dependents licensed under $MIT
39,831,257

compare two semver version strings, returning -1, 0, or 1

published version 1.0.0, 11 years ago400 dependents licensed under $MIT
36,478,627

Get a compare function for array to sort

published version 2.0.0, 5 years ago690 dependents licensed under $MIT
34,406,710

Compare semver version strings to find greater, equal or lesser.

published version 6.1.1, a year ago1587 dependents licensed under $MIT
27,955,211

Compare DNS record strings for equality

published version 1.0.0, 9 years ago238 dependents licensed under $MIT
21,754,516

Fast JavaScript array sorting by implementing Python's Timsort algorithm

published version 1.0.3, 5 years ago4 dependents licensed under $MIT
17,726,795

Compare alphanumeric strings the same way a human would, using a natural order algorithm

published version 3.0.1, 5 years ago530 dependents licensed under $MIT
19,714,105

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

published version 1.1.6, 6 years ago230 dependents licensed under $MIT
17,867,707

Securely compare two strings, copied from cryptiles

published version 3.0.1, 10 years ago79 dependents licensed under $MIT
13,297,166

Check if two arrays are equal

published version 2.0.0, 2 months ago246 dependents licensed under $MIT
12,882,932

Does a shallow comparison of two objects, returning false if the keys or values differ.

published version 0.1.3, 10 years ago212 dependents licensed under $MIT
8,762,784