Showing 1-20 of 40,346 packages
Securely compare two strings, copied from cryptiles
Constant-time safe comparison using Node.js native crypto.timingSafeEqual
Fastest deep equal comparison for React. Great for React.memo & shouldComponentUpdate. Also really fast general-purpose deep comparison.
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Timing safe string compare using double HMAC
Compare semver version strings to find greater, equal or lesser.
Get a compare function for array to sort
Compare alphanumeric strings the same way a human would, using a natural order algorithm
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
It's react's useEffect hook, except using deep comparison on the inputs, not reference equality
Compare two objects using accessed properties with Proxy
Node JS directory compare
Compare strings with Intl.Collator if available, falling back to String.localeCompare otherwise
LDAP client
Compare json schemas smarter.
JSON parse with prototype poisoning protection
compare two semver version strings, returning -1, 0, or 1
Basic sort algorithm that has similar behavior to Array.prototype.sort for null and undefined, but also allows sorting by an object property.
A tiny (130B to 205B) and fast utility to randomize unique IDs of fixed length
React hooks, except using deep comparison on the inputs, not reference equality