sindresorhus

sindresorhus/move-file

Move a file, directory, or symlink - Even works across devices

JavaScript
206
9
MIT License

move-file is a Node.js library that provides a simple way to move files, directories, or symlinks, even across partitions and devices where the built-in `fs.rename()` fails. It offers both promise-based and synchronous APIs, automatically creates missing destination directories, and allows control over overwriting existing files. This tool is ideal for developers working with Node.js who need reliable cross-device file moving functionality.

Total donated
Undistributed
Share with your subscribers: