Measure the difference between two strings using the Levenshtein distance algorithm
MIT License
Slugify a string
Measure the difference between two strings with the fastest JS implementation of the Levenshtein ...
Get the path to an app (macOS)
Detect the dominant newline character
Get bundle identifier from a bundle name (macOS): Safari → com.apple.Safari
Check if a year is a leap year
Split a string at one or more indices
Get the gzipped size of a file or stdin
Strip leading whitespace from each line in a string
Detect the indentation of code
Convert bytes to a human readable string: 1337 → 1.34 kB
Check if an app exists on macOS
Prepend `<br>` to newlines in a string
Repeat text
Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari