node-cpdir

1.0.0 • Public • Published

node

a async copydir utils with no dependencies for nodejs

Installing

npm i node-cpdir

or

yarn add node-cpdir

Usage

cpdir('path/from', 'path/to')

Example

move directory named 'aaa' to 'bbb' directory

const cpdir = require('node-cpdir')
 
cpdir('./aaa', './bbb').then(() => {
    // succeed!
}, (err) => {
    console.log(err)
})
 
 

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i node-cpdir

      Weekly Downloads

      2

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      1.36 kB

      Total Files

      3

      Last publish

      Collaborators

      • spiderman123