stream-copy-file

0.1.0 • Public • Published

stream-copy-file

Node module to copy files like copy /b on windows.

Installation

npm install stream-copy-file

Usage

Copy a file then call a callback.

var streamCopyFile = require('stream-copy-file');
var source = 'aFile';
var target = 'bFile';
function callback (err) {
    if (err) {
        throw err;
    }
    console.log('files exist, what now?');
}
streamCopyFile(source, target, callback);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i stream-copy-file

Weekly Downloads

2

Version

0.1.0

License

none

Last publish

Collaborators

  • kastor