Split a string at one or more indices
MIT License
No README available, please check again later.
Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Strip a path from a path
Slugify a string
Strip shebang (eg. #!/bin/sh) from a string
Get an array of valid, sorted, and cleaned semver versions from an array of strings
Split a string on the first occurrence of a given separator
Parse/stringify contact info like `Sindre Sorhus <[email protected]> (sindresorhus.com)`
Parse text columns, like the output of unix commands
Remove or replace part of a string like Array#splice
Pad stdout and stderr
Sort an array of numbers
Prepend `<br>` to newlines in a string
Alphabetically sort an array of strings
Measure the difference between two strings using the Levenshtein distance algorithm
Strip leading whitespace from each line in a string