Showing 1-20 of 426,542 packages
Timing safe string compare using double HMAC
timing safe string compare, using double hmac
Constant-time comparison algorithm to prevent timing attacks.
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Compare alphanumeric strings the same way a human would, using a natural order algorithm
Get a compare function for array to sort
Compare strings containing a mix of letters and numbers in the way a human being would in sort order.
Safer Node.js Buffer API
compare two semver version strings, returning -1, 0, or 1
TypeScript definitions for safe-compare
Securely compare two strings, copied from cryptiles
Give a regex, get a robust predicate function that tests it against a string.
Compare semver version numbers
Basic sort algorithm that has similar behavior to Array.prototype.sort for null and undefined, but also allows sorting by an object property.
detect possibly catastrophic, exponential-time regular expressions
Deterministic and safely JSON.stringify to quickly serialize JavaScript objects
Fastest deep equal comparison for React. Great for React.memo & shouldComponentUpdate. Also really fast general-purpose deep comparison.
Compare json schemas smarter.
Timing safe string compare using double HMA
detect possibly catastrophic, exponential-time regular expressions