0.1.1 • Published 9 years ago

node-cp v0.1.1

Weekly downloads
63
License
MIT
Repository
github
Last release
9 years ago

NPM Version Build Status Test Coverage

node-cp

cp -r for Node.js

Install with npm install node-cp

API

cp(source, destination, callback)

The callback will be called with an error if there is one and with an nested array of copied files names

Usage

Usage of node-cp is simple

var cp = require('node-cp');

cp(source, destination, function (err, files) {
 if (err) {
   return console.error(err);
 }
 console.log('Copied files', files);
});

License

MIT