Measure the difference between two strings with the fastest JS implementation of the Levenshtein distance algorithm
MIT License
Get the system locale
Resolve the path of a module like `require.resolve()` but from the current working directory
Get the diff type of two semver versions: 0.0.1 0.0.2 → patch
Check if a path exists
Read and parse a JSON file
Check if a URL is absolute
Create an array with values that are present in the first input array but not additional ones
Strip leading whitespace from each line in a string
Import a module lazily
Reduce a list of values using promises into a promise for a value
Measure the difference between two strings using the Levenshtein distance algorithm
Check if your code is running as an npm or yarn script
Repeat a string - fast
Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}
Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`