Skip to content

nickmessing/fs-multi-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fs-multi-copy

Node.JS copy multiple files

Installation

npm install fs-multi-copy -S

or

yarn add fs-multi-copy

How to use

const mc = require('fs-multi-copy')

mc([
  {
    from: 'tmp.0',
    to: 'tmp.0.out'
  },
  {
    from: 'tmp.1',
    to: 'tmp.1.out'
  }
]).then(() => {
  // copied
}).catch(err => {
  // something wrong happened
})

About

Node.JS copy multiple files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published