A (much) faster String.prototype.localeCompare
Fastest deep equal comparison for React. Great for React.memo & shouldComponentUpdate. Also really fast general-purpose deep comparison.
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.
Get a compare function for array to sort
compare two semver version strings, returning -1, 0, or 1
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Compare json schemas smarter.
Securely compare two strings, copied from cryptiles
Compare semver version numbers
Compare strings with Intl.Collator if available, falling back to String.localeCompare otherwise
Efficient implementation of Levenshtein algorithm with locale-specific collator support.
Parse HTTP Content-Type header according to RFC 7231
Stringify your JSON at max speed
Basic sort algorithm that has similar behavior to Array.prototype.sort for null and undefined, but also allows sorting by an object property.
Fast deep equal
Dependency-free RFC 3986 URI toolbox
A fast function for calculating the visual width of a string once printed to the terminal.
compare SPDX license expressions
Timing safe string compare using double HMAC
A fast function for calculating where a string should be truncated, given an optional width limit and an ellipsis string.
Constant-time comparison algorithm to prevent timing attacks.
A fast alternative to legacy querystring module
deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify