npm

Search results

1000+ packages found

A JavaScript text diff implementation.

published version 9.0.0, 2 months ago9425 dependents licensed under $BSD-3-Clause
476,215,444

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 ago1676 dependents licensed under $MIT
503,782,465

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

published version 0.1.4, 5 years ago1580 dependents licensed under $MIT
425,581,477

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.1.0, 9 months ago1552 dependents licensed under $MIT
224,777,607

Type check values

published version 8.1.0, a month ago359 dependents licensed under $MIT
219,277,573

Damerau - Levenshtein distance by The Spanish Inquisition + relative distance

published version 1.0.8, 4 years ago538 dependents licensed under $BSD-2-Clause
138,740,783

node's assert.deepEqual algorithm

published version 2.2.3, 3 years ago3361 dependents licensed under $MIT
113,589,703

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

published version 3.2.2, 3 years ago1099 dependents licensed under $MIT
91,897,083

Useful utilities for working with Uint8Array (and Buffer)

published version 1.5.0, 10 months ago111 dependents licensed under $MIT
75,164,280

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

published version 6.1.1, 2 years ago1642 dependents licensed under $MIT
61,235,902

Like lodash isEqualWith but for shallow equal.

published version 1.1.0, 8 years ago1516 dependents licensed under $MIT
63,265,425

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

published version 1.0.0, 12 years ago350 dependents licensed under $MIT
52,397,348

Get a compare function for array to sort

published version 2.0.0, 6 years ago631 dependents licensed under $MIT
51,506,367

Fast JavaScript array sorting by implementing Python's Timsort algorithm

published version 1.0.3, 6 years ago4 dependents licensed under $MIT
43,461,565

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

published version 1.1.6, 7 years ago227 dependents licensed under $MIT
35,810,663

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

published version 1.4.0, 11 years ago559 dependents licensed under $MIT
33,996,211

Securely compare two strings, copied from cryptiles

published version 3.0.1, 11 years ago72 dependents licensed under $MIT
25,151,249

Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.

published version 5.0.0, 2 years ago81 dependents licensed under $MIT
21,174,637

Typescript-compatible minimalistic shallow equality check for arrays/objects

published version 3.1.0, 3 years ago568 dependents licensed under $MIT
16,844,270

Like lodash isEqualWith but for shallow equal.

published version 4.0.2, 4 years ago9 dependents licensed under $MIT
15,804,417