cp-r

cp -r for node with no options!

cp-r

cp -R for node with no options

With your favorite package manager:

  • packin: packin add cp-r
  • npm: npm install cp-r

then in your app:

var copy = require('cp-r')

Copy whatever is at a to b. Be that a file, directory, or symlink.

copy('test', 'tmp').read(function(){
  console.log('done!')
})