node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

ncprs

ncprs

node-copy-recursive-stream

Example

var ncprs = require('ncprs');
 
ncprs(source, dest)
  .on('data', function (file) {
    console.log('  create ' + file.target);
  });

Filter

var ncprs = require('ncprs');
 
var options = {};
 
options.filter = function (file, cb) {
  cb(null, file.path.endsWith('.css'));
};
 
ncprs(source, dest, options);

License

The MIT License (MIT)

http://poying.mit-license.org/