Move a file - Even works across devices
MIT License
Move files and folders to the trash
Make a directory and its parents if needed - Think `mkdir -p`
Copy a file
Write a package.json file
Find a file or directory by walking up parent directories
Make directories and their parents if needed - Like `mkdir -p`, but cross-platform
Move files and directories to the trash
Get the first path that exists on disk of multiple paths
Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Stringify and write JSON to a file atomically
Copy files
Find a file or directory by walking up parent directories — Zero dependencies
Move a file on the command-line
Delete files and directories