1.1.1 • Published 7 years ago
@cxy168/copyfolder v1.1.1
copyfolder
A nodeJs module for copying folders.
Install
npm install @cxy168/copyfolder
API
copyFolder(source, target);
- source -- source folder
- target -- an empty target path
Usage
const path = require('path');
const copyFolder = require('@cxy168/copyfolder');
copyFolder(
path.resolve(__dirname, 'source'),
path.resolve(__dirname, 'target'),
);