Détail du package

swint-copy-dir

KnowRe-Dev75MIT1.0.12

The directory copying function wrapped for swint-task

swint, file system

readme

swint-copy-dir

Greenkeeper badge The directory copying function wrapped for swint-task

Warning: This is not the final draft yet, so do not use this until its official version is launched

Installation

$ npm install --save swint-copy-dir

Options

  • inDir : String, default: path.dirname(require.main.filename)
  • outDir : String, default: path.join(path.dirname(require.main.filename), '../out')

Usage

copyDir({
    inDir: path.join(__dirname, 'fonts'),
    outDir: path.join(__dirname, 'out/fonts')
}, function() {
    // Build complete
});