Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Fast JavaScript array sorting by implementing Python's Timsort algorithm
A JavaScript text diff implementation.
Get a compare function for array to sort
Check if two arrays are equal
Compare your item to items in an array and get the closest one.
Javascript utility for calculating deep difference, capturing changes, and applying changes across objects; for nodejs and the browser.
[![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)
- leven
- levenshtein
- distance
- array
- string
- algorithm
- algo
- difference
- diff
- fast
- fuzzy
- similar
- similarity
- compare
- View more
Does a shallow comparison of two objects, returning false if the keys or values differ.
compare two semver version strings, returning -1, 0, or 1
Lightweight and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.
Check if an Array is sorted
Determine if an array or object is equivalent with another, *not* recursively
Basic sort algorithm that has similar behavior to Array.prototype.sort for null and undefined, but also allows sorting by an object property.
Compare alphanumeric strings the same way a human would, using a natural order algorithm
Type check values
Returns an array containing the initial elements which both input arrays have in common
Update object by mapping diff properties
Compare DNS record strings for equality
Securely compare two strings, copied from cryptiles
A comprehensive comparison library, for use in test frameworks