fcopy-pre-bundled

when theres a file in a place and a new place for the file

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
fcopy-pre-bundled
100.3.45 years ago5 years agoMinified + gzip package size for fcopy-pre-bundled in KB

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);
});