{"_id":"copy-files","_rev":"6-6c0f42d341dce206c2d32dd50e84a352","name":"copy-files","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"copy-files","version":"0.1.0","keywords":["copy","stream","files","copies","mv","cp"],"author":{"name":"Scott Corgan"},"license":"MIT","_id":"copy-files@0.1.0","maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"homepage":"https://github.com/scottcorgan/copy-files","bugs":{"url":"https://github.com/scottcorgan/copy-files/issues"},"dist":{"shasum":"fa38385dc047ef88193c1c61b6a253a8a427f116","tarball":"https://registry.npmjs.org/copy-files/-/copy-files-0.1.0.tgz","integrity":"sha512-gRtiqhjreI7epguq0a1f4bA7E/3kwQaxbuOl6T0TP579o85pBb3Y+IuHJW/VjqjUmXlXHyu2MGGSsZgX65FTuA==","signatures":[{"sig":"MEYCIQCfh4xNccz5nfaLWKGiTN2vsC2wSaCgI8nsy2f/3143WwIhALQ12V6R0mNmz0fO2fzwOA0A/elOkyeHFxHwytBubHMp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","scripts":{"test":"mocha test/"},"_npmUser":{"name":"scottcorgan","email":"scottcorgan@gmail.com"},"repository":{"url":"https://github.com/scottcorgan/copy-files.git","type":"git"},"_npmVersion":"1.4.3","description":"Streaming file copier","directories":{"test":"test"},"dependencies":{"async":"^0.9.0","lodash":"^2.4.1","mkdirp":"^0.5.0"},"devDependencies":{"chai":"^1.9.1","mocha":"^1.20.1"}}},"time":{"created":"2014-06-04T16:30:52.734Z","modified":"2024-10-12T12:56:03.787Z","0.1.0":"2014-06-04T16:30:52.734Z"},"bugs":{"url":"https://github.com/scottcorgan/copy-files/issues"},"author":{"name":"Scott Corgan"},"license":"MIT","homepage":"https://github.com/scottcorgan/copy-files","keywords":["copy","stream","files","copies","mv","cp"],"repository":{"url":"https://github.com/scottcorgan/copy-files.git","type":"git"},"description":"Streaming file copier","maintainers":[{"name":"scottcorgan","email":"scottcorgan@gmail.com"}],"readme":"# copy-files\n\nStreaming file copier\n\n## Install\n\n```\nnpm install copy-files --save\n```\n\n## Usage\n\n```js\nvar copy = require('copy-files');\n\ncopy({\n  files: {\n    'newname.txt': __dirname + '/path/to/source.txt'\n  },\n  dest: '/path/to/destination',\n}, function (err) {\n  // All copied!\n});\n```\n\n### copy(options, callback)\n\nAsync copy method using streams to copy files\n\n#### options\n\n* `files` - list of files to copy. The key is the copied file's name and the value is the file to copy\n* `dest` - the destination directory to copy the files to\n* `overwrite` - OPTIONAL - flag telling the copy method whether or not to overwrite existing files in `dest` directory. Defaults to *false*.\n\n## Run Tests\n\n```\nnpm install\nnpm test\n```\n","readmeFilename":"README.md","users":{}}