{"_id":"fs-cp","_rev":"12-ddb92a3cd8b87d836abdae3a22ea0473","name":"fs-cp","description":"copy a file or a stream to another file","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.0":{"name":"fs-cp","description":"copy a file","version":"1.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/fs-utils/cp"},"dependencies":{"mz":"1","native-or-bluebird":"1"},"devDependencies":{"mkdirp":"0","rimraf":"2","istanbul":"0","mocha":"1"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"keywords":["fs","cp","copy"],"files":["index.js"],"gitHead":"066d5dc369261dea0b0f49853eecaabc37d69b56","bugs":{"url":"https://github.com/fs-utils/cp/issues"},"homepage":"https://github.com/fs-utils/cp","_id":"fs-cp@1.0.0","_shasum":"104a72a35168424d013d611e20af0b80e7486b13","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"104a72a35168424d013d611e20af0b80e7486b13","tarball":"https://registry.npmjs.org/fs-cp/-/fs-cp-1.0.0.tgz","integrity":"sha512-D7hgDb5L6mGYV1U9n8iiydwuNuxUxNay0Ij0PKjLqceEqgscCyiCHZkp3iMANi12GvnREG+qLXB2p17YEuJIUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiy8yqzuHo6/vELzHJk41O55zIgPH9vXfRJiPMzLksAgIhAI0NDeRUzjBbPy+LjBLXT7z8sOTt+YM7yQXjQOsuCJOT"}]}},"1.1.0":{"name":"fs-cp","description":"copy a file","version":"1.1.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/fs-utils/cp"},"dependencies":{"mz":"1","mkdirp-then":"1","native-or-bluebird":"1"},"devDependencies":{"mkdirp":"0","rimraf":"2","istanbul":"0","mocha":"1"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"keywords":["fs","cp","copy"],"files":["index.js"],"gitHead":"71ded76e941a16ed392ee543ca8624251ca888dd","bugs":{"url":"https://github.com/fs-utils/cp/issues"},"homepage":"https://github.com/fs-utils/cp","_id":"fs-cp@1.1.0","_shasum":"c73771185eeded5083cf149cd0767ad7921994a4","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"c73771185eeded5083cf149cd0767ad7921994a4","tarball":"https://registry.npmjs.org/fs-cp/-/fs-cp-1.1.0.tgz","integrity":"sha512-x1S2NyN9WNDBSrdMpWhuL+BxUT8RM7v7v55UACrLyR2E3Yv6Xp+bIydlz/84ORr3s/jKA/zqt+WdEmdxVkelEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5PUwW6xbCNkA9loAHcjjkZbg5fM6YPbZC8sRIyi8S7wIhALhxhTnEi9uYAMFmAi9Si//3MVvgrio0MZKhAvw+5uHV"}]}},"1.2.0":{"name":"fs-cp","description":"copy a file or a stream to another file","version":"1.2.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/fs-utils/cp"},"dependencies":{"mz":"1","destroy":"1","mkdirp-then":"1","native-or-bluebird":"1"},"devDependencies":{"bluebird":"2","mkdirp":"0","rimraf":"2","istanbul":"0","mocha":"1"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"keywords":["fs","cp","copy"],"files":["index.js"],"gitHead":"1bfd02f40d3f8e1c3d6193c7900b61ae1b3031c0","bugs":{"url":"https://github.com/fs-utils/cp/issues"},"homepage":"https://github.com/fs-utils/cp","_id":"fs-cp@1.2.0","_shasum":"deac3f9b64aaab24e85ef148e5ea8a89da55bf4b","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"deac3f9b64aaab24e85ef148e5ea8a89da55bf4b","tarball":"https://registry.npmjs.org/fs-cp/-/fs-cp-1.2.0.tgz","integrity":"sha512-D13Hi8r6JKL7UJwrAbc/kPVT9Fc2hVsyVYRxQtOdRPZSdUHMGLcJdZ0nO94GNY/mxQa4k9CrPWEzK+8iLC0+Ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF5l+E5auVpR8NwbCvoa+IABPaom4Kzxpb3HbQLXehLuAiAjVQuVu2E+l+vj3AzV5J7kITJUiKxlWcWIfy5JNkfGrw=="}]}},"1.3.0":{"name":"fs-cp","description":"copy a file or a stream to another file","version":"1.3.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/fs-utils/cp"},"dependencies":{"mz":"1","destroy":"1","mkdirp-then":"1","native-or-bluebird":"1"},"devDependencies":{"bluebird":"2","mkdirp":"0","rimraf":"2","istanbul":"0","mocha":"1"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"keywords":["fs","cp","copy"],"files":["index.js"],"gitHead":"7d0769140b91f200aeb30e3acc4ec4c212128534","bugs":{"url":"https://github.com/fs-utils/cp/issues"},"homepage":"https://github.com/fs-utils/cp","_id":"fs-cp@1.3.0","_shasum":"290abbedc6b53b41da65a1bb4303117a933e6cfa","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.11.14","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"290abbedc6b53b41da65a1bb4303117a933e6cfa","tarball":"https://registry.npmjs.org/fs-cp/-/fs-cp-1.3.0.tgz","integrity":"sha512-wgnrSfCZduVHXxIvtgrmq36p8OXjsOj4QGn/C/SfeEKQm8tHdD9FPI75sLXoVxk/6rXvrjnx3XGM+hxlGi2Pjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0k30NBTSxHFtW8p3h2qPxvoY4RN2rWrt8bu8IPvruFwIhANAu6yowX7vtzGAkX2FrhTDaN+Ot0h8TkTpycy43TnEY"}]}},"1.3.1":{"name":"fs-cp","description":"copy a file or a stream to another file","version":"1.3.1","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fs-utils/cp.git"},"dependencies":{"destroy":"1","mkdirp-then":"1","mz":"^2.0.0","native-or-bluebird":"1"},"devDependencies":{"bluebird":"2","istanbul":"0","mkdirp":"0","mocha":"^2.2.5","rimraf":"2"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"keywords":["fs","cp","copy"],"files":["index.js"],"gitHead":"629bf4b68cea33a979971fad768f7baa827541e2","bugs":{"url":"https://github.com/fs-utils/cp/issues"},"homepage":"https://github.com/fs-utils/cp#readme","_id":"fs-cp@1.3.1","_shasum":"f96ce461dbb11f26a1bb93952489ada6f8c5a39b","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"dist":{"shasum":"f96ce461dbb11f26a1bb93952489ada6f8c5a39b","tarball":"https://registry.npmjs.org/fs-cp/-/fs-cp-1.3.1.tgz","integrity":"sha512-tye6AmtlFTwbRRcqrwr1dlbe8t7/4Z0X7dMfN225a9j8kLS4vRSDFlrypbc40F6RwpgEakDTUDcywEvtLpoWFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGlnFRlx+Mm3oxb8Cm24R+3oOELsdviKXbCX+n7zUGfHAiEAhxonG+Ji/RxShq3/grq9wN0i/DngC2CnOEr529YH068="}]},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}]},"1.4.0":{"name":"fs-cp","description":"copy a file or a stream to another file","version":"1.4.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fs-utils/cp.git"},"dependencies":{"any-promise":"^1.1.0","destroy":"^1.0.0","mkdirp-then":"^1.0.0","mz":"^2.0.0"},"devDependencies":{"bluebird":"^3.1.1","istanbul":"^0.4.2","mkdirp":"^0.5.1","mocha":"^2.2.5","rimraf":"^2.0.0"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"keywords":["fs","cp","copy"],"files":["index.js"],"gitHead":"10bd1a40724ac48d076b7cd6395d67271ddaa2f9","bugs":{"url":"https://github.com/fs-utils/cp/issues"},"homepage":"https://github.com/fs-utils/cp#readme","_id":"fs-cp@1.4.0","_shasum":"5db1af5ad3f0dc0c818576e52dd29411e8ad0c65","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"dist":{"shasum":"5db1af5ad3f0dc0c818576e52dd29411e8ad0c65","tarball":"https://registry.npmjs.org/fs-cp/-/fs-cp-1.4.0.tgz","integrity":"sha512-HzyPJZqrIXdXFlTPwYMufVZd9eiXqsvo0JUg0jto3mfsDG0mXxdqeZq3drZFNGVjGi03nfjjU50BKwBffl+DKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgeSF+usVzGF4HJ8GauNeoyurF7sm3MBRBkSsrGo71WgIgPmbx+5UoEEXDtfh0AbHe0yRFvc/sG7GibAT7tj9PcgE="}]},"maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/fs-cp-1.4.0.tgz_1456695906143_0.10308091179467738"}}},"readme":"\n# cp\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\nA tiny utility to help you copy files:\n\n- Always cleans up file descriptors\n- `mkdir -p` support\n- Promise support\n- No half-written files\n- Insusceptible to race conditions, meaning you can do multiple copies fine\n\n## API\n\n```js\nvar cp = require('fs-cp')\n\n// file to file\ncp('package.json', 'package2.json').then(function () {\n\n})\n\n// stream to file\ncp(res, 'response.json').then(function () {\n\n})\n```\n\n[npm-image]: https://img.shields.io/npm/v/fs-cp.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/fs-cp\n[github-tag]: http://img.shields.io/github/tag/fs-utils/cp.svg?style=flat-square\n[github-url]: https://github.com/fs-utils/cp/tags\n[travis-image]: https://img.shields.io/travis/fs-utils/cp.svg?style=flat-square\n[travis-url]: https://travis-ci.org/fs-utils/cp\n[coveralls-image]: https://img.shields.io/coveralls/fs-utils/cp.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/fs-utils/cp?branch=master\n[david-image]: http://img.shields.io/david/fs-utils/cp.svg?style=flat-square\n[david-url]: https://david-dm.org/fs-utils/cp\n[license-image]: http://img.shields.io/npm/l/cp.svg?style=flat-square\n[license-url]: LICENSE.md\n[downloads-image]: http://img.shields.io/npm/dm/fs-cp.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/fs-cp\n","maintainers":[{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"time":{"modified":"2022-06-18T03:51:54.602Z","created":"2014-08-14T03:56:57.656Z","1.0.0":"2014-08-14T03:56:57.656Z","1.1.0":"2014-08-14T23:41:14.593Z","1.2.0":"2014-08-23T01:24:35.110Z","1.3.0":"2014-12-03T23:54:39.649Z","1.3.1":"2015-06-05T05:49:18.328Z","1.4.0":"2016-02-28T21:45:10.702Z"},"homepage":"https://github.com/fs-utils/cp#readme","keywords":["fs","cp","copy"],"repository":{"type":"git","url":"git+https://github.com/fs-utils/cp.git"},"author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"bugs":{"url":"https://github.com/fs-utils/cp/issues"},"license":"MIT","readmeFilename":"README.md"}