fcopy-pre-bundled

0.3.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i fcopy-pre-bundled

Weekly Downloads

280

Version

0.3.4

License

BSD-2-Clause

Last publish

Collaborators

  • develar