{"name":"mv","version":"2.0.3","description":"fs.rename but works across devices. same as the unix utility 'mv'","main":"index.js","scripts":{"test":"mocha test/test.js --reporter spec"},"repository":{"type":"git","url":"git://github.com/andrewrk/node-mv.git"},"keywords":["mv","move","rename","device","recursive","folder"],"author":{"name":"Andrew Kelley"},"license":"MIT","engines":{"node":">=0.8.0"},"devDependencies":{"mocha":"~1.21.0"},"dependencies":{"mkdirp":"~0.5.0","ncp":"~0.6.0","rimraf":"~2.2.8"},"bugs":{"url":"https://github.com/andrewrk/node-mv/issues"},"homepage":"https://github.com/andrewrk/node-mv","directories":{"test":"test"},"readme":"[![Build Status](https://secure.travis-ci.org/andrewrk/node-mv.png)](http://travis-ci.org/andrewrk/node-mv)\n\nUsage:\n------\n\n```js\nvar mv = require('mv');\n\nmv('source/file', 'dest/file', function(err) {\n  // done. it tried fs.rename first, and then falls back to\n  // piping the source file to the dest file and then unlinking\n  // the source file.\n});\n```\n\nAnother example:\n\n```js\nmv('source/dir', 'dest/a/b/c/dir', {mkdirp: true}, function(err) {\n  // done. it first created all the necessary directories, and then\n  // tried fs.rename, then falls back to using ncp to copy the dir\n  // to dest and then rimraf to remove the source dir\n});\n```\n\nAnother example:\n\n```js\nmv('source/file', 'dest/file', {clobber: false}, function(err) {\n  // done. If 'dest/file' exists, an error is returned\n  // with err.code === 'EEXIST'.\n});\n```\n","readmeFilename":"README.md","_id":"mv@2.0.3","_shasum":"e9ab707d71dc38de24edcc637a8e2f5f480c7f32","_from":"https://registry.npmjs.org/mv/-/mv-2.0.3.tgz","_resolved":"https://registry.npmjs.org/mv/-/mv-2.0.3.tgz"}