node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

copysync

Copy file or directory in synchronous way

Install

npm install copysync

Usage

copysync = require 'copysync'
 
src = process.argv[2]
dest = process.argv[3]
 
copysync src, dest