sindresorhus / copy-fileView external linksLinks
Copy a file
☆123Aug 13, 2025Updated 6 months ago
Alternatives and similar repositories for copy-file
Users that are interested in copy-file are comparing it to the libraries listed below
Sorting:
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Get the arguments of a function, arrow function, generator function, async function☆54Oct 30, 2023Updated 2 years ago
- Get free disk space info from `df -kP`☆64Sep 13, 2025Updated 5 months ago
- Copy files☆435Feb 5, 2026Updated last week
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last week
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Apr 1, 2024Updated last year
- Check if a value is a plain object☆104May 4, 2024Updated last year
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Jul 8, 2022Updated 3 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Resolve the path of a package regardless of it having an entry point☆55Updated this week
- Check if your code is running in a JXA environment☆32Sep 18, 2021Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆62Sep 15, 2025Updated 4 months ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Create a MD5 hash with hex encoding☆48Nov 6, 2023Updated 2 years ago
- Make a directory and its parents if needed - Think `mkdir -p`☆477Sep 10, 2025Updated 5 months ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Feb 19, 2023Updated 2 years ago
- Convert a value to an array☆133Nov 9, 2021Updated 4 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Check if an Iterable is empty☆23Sep 14, 2025Updated 5 months ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 2 months ago
- Get the $PATH from the shell☆79Aug 21, 2025Updated 5 months ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Check if a string is email like☆25Nov 11, 2025Updated 3 months ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Decompress a HTTP response if needed☆75Oct 13, 2025Updated 4 months ago
- Get your PATH prepended with locally installed binaries☆107Oct 28, 2024Updated last year
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Bind all methods in an object to itself or a specified context☆59Apr 19, 2021Updated 4 years ago
- Truncate a string to a specific width in the terminal☆88Oct 23, 2025Updated 3 months ago