fcopy-pre-bundled
v0.3.4
Published
when theres a file in a place and a new place for the file
Downloads
2,124
Readme
fcopy
When there's a file in a place and a new place for the file.
Installation
npm install fcopy
Usage
const fcopy = require('fcopy');
// using callbacks
fcopy('./my-file', './my-new-file', function (err) {
if (err) console.error(err);
});
// using promises
fcopy('./my-file', './my-new-file').then(function (err) {
if (err) console.error(err);
});