sindresorhus / copy-file
Copy a file
☆121Updated last year
Alternatives and similar repositories for copy-file:
Users that are interested in copy-file are comparing it to the libraries listed below
- Check if a path is a file, directory, or symlink☆78Updated 7 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Get a random temporary file path☆79Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Extract the actual stack of an error☆66Updated 2 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Easily handle defaults for your options☆73Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 4 months ago
- Import a globally installed module☆57Updated last year
- Wrapper for the Windows `tasklist` command. Returns a list of apps and services with their Process ID (PID) for all tasks running on eith…☆67Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Write a package.json file☆88Updated 7 months ago
- Measure the time a promise takes to resolve☆70Updated last year
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 9 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Check if argv has a specific flag☆94Updated 3 years ago
- Block users from running your app with root permissions☆98Updated last year
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Get the path to the user home directory☆161Updated 3 years ago
- Check if something is a Node.js stream☆110Updated 4 months ago
- Convert a value to an array☆130Updated 3 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Ensure a function is only called once☆162Updated last year
- Check whether a package or organization name is available on npm☆169Updated last year