Convert a string to a valid safe filename
MIT License
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicor...
Rename a function
Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Check if a string is a valid filename
Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`
Make a directory and its parents if needed - Think `mkdir -p`
Change the file extension of a path
Linkify GitHub issue references
Slugify a string
Convert a URL to a valid filename
Convert a dash/dot/underscore/space separated string to camelCase: foo-bar → fooBar
Regular expression for matching reserved filename characters