Surprisingly there doesn't seem to be an npm package that supports copying a file/folder without overwriting if the same filename already exists.
This is a simple modification of fs-extra
's copySync
Surprisingly there doesn't seem to be an npm package that supports copying a file/folder without overwriting if the same filename already exists.
This is a simple modification of fs-extra
's copySync
npm i copy-no-overwrite
1
1.0.1
ISC