2.0.0 • Published 7 years ago

fs-multi-copy v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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
})
2.0.0

7 years ago

1.0.0

9 years ago