filecopy
Copy files.
Last updated 9 months ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install filecopy 
SYNC missed versions from official npm registry.

filecopy

Build Status npm Version JS Standard

Copy files.

Installation

npm install filecopy --save

Usage

Copy a Single File

#!/usr/bin/env/node
'use strict'

const filecopy = require('filecopy')

filecopy('src/some-text01.txt', 'dest/some-text01-copy.txt', {
  mkdirp: true
}).then(() => {
  /* ... */
});

Copy Multiple Files

#!/usr/bin/env node
'use strict'

const filecopy = require('filecopy')

// Copy all files in src directory to dir.
filecopy('src/*.txt', 'dest', {}).then(() => {
  /* ... */
})

License

This software is released under the MIT License.

Current Tags

  • 4.0.1                                ...           latest (9 months ago)

19 Versions

  • 4.0.1                                ...           9 months ago
  • 4.0.0                                ...           a year ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |