Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
chai-string
strings comparison matchers for chai
compare-timing-safe
String comparison in length constant time
@achingbrain/chai-string
strings comparison matchers for chai
@total-order/primitive
Comparison of primitive values for JavaScript
locale-compare
Locale-aware string comparison with Intl.Collator and localeCompare fallback
onp
Text diff algorithm based on 'An O(NP) Sequence Comparison Algorithm' from Sun Wu, Udi Manber and Gene Myers
@jsonjoy.com/util
Various helper utilities
itty-time
Ultra-small (~390 bytes) library for TTL date math and converting ms durations to and from strings.
cssesc
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
casefold
A string utility package for caseless comparison of strings
case
Extensible string utility for converting, identifying and flipping string case
string.prototype.trimright
ES2019 spec-compliant String.prototype.trimLeft shim.
string.prototype.trimleft
ES2019 spec-compliant String.prototype.trimLeft shim.
leven
Measure the difference between two strings using the Levenshtein distance algorithm
cln
Clean source code for comparison
fastest-levenshtein
Fastest Levenshtein distance implementation in JS.
strcmp
String Comparison Functions
i-compare-strings
Constant time string comparison
ansi-styles
ANSI escape codes for styling strings in the terminal
string-natural-compare
Compare alphanumeric strings the same way a human would, using a natural order algorithm