Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Measure the difference between two strings using the Levenshtein distance algorithm
- leven
- levenshtein
- distance
- algorithm
- string
- difference
- diff
- fast
- fuzzy
- similar
- similarity
- compare
- comparison
- edit
- View more
A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Generate a cryptographically strong random string
Parse String to Number based on configuration
Get the shortest leading whitespace from lines in a string
Compile regular expressions' unicodeSets (v) flag.
Truncate a string to a specific width in the terminal
Strip redundant indentation and indent the string
Generate a unique random string
Check if a string has ANSI escape codes
Detect the indentation of code
Repeat the given string n times. Fastest implementation for repeating a string.
Trim newlines from the start and/or end of a string
Convert object keys to camel case
Parse regular expressions' unicodeSets (v) flag.
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
Get the visual width of the widest line in a string - the number of columns required to display it
Wildcard matching tools
Parse and stringify URL query strings