cp-r

cp -r for node with no options!


Keywords
cp, cp-r, copy, fs
License
MIT
Install
npm install cp-r@0.1.2

Documentation

cp-r

cp -R for node with no options

Installation

With your favorite package manager:

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

then in your app:

var copy = require('cp-r')

API

copy(a, b)

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

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