{"_id":"mv","_rev":"43912","name":"mv","description":"fs.rename but works across devices. same as the unix utility 'mv'","dist-tags":{"latest":"2.1.1"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"time":{"modified":"2021-06-03T10:13:26.000Z","created":"2012-10-12T03:02:10.751Z","2.1.1":"2015-06-22T22:06:53.771Z","2.1.0":"2015-06-19T21:44:19.869Z","2.0.3":"2014-07-26T20:22:42.349Z","2.0.2":"2014-07-26T20:12:49.567Z","2.0.1":"2014-06-30T06:23:07.647Z","2.0.0":"2014-02-26T06:49:58.561Z","1.0.0":"2013-09-08T00:25:50.031Z","0.0.5":"2013-03-12T04:57:12.824Z","0.0.4":"2012-12-12T22:15:08.784Z","0.0.3":"2012-10-12T03:36:20.812Z","0.0.2":"2012-10-12T03:28:40.516Z","0.0.1":"2012-10-12T03:02:10.751Z"},"users":{"131":true,"soumik":true,"yourhoneysky":true,"oleang":true,"jvillagomez":true,"princetoad":true,"andreyorlov33":true,"axelrindle":true,"karnavpargi":true,"tg-z":true},"author":{"name":"Andrew Kelley"},"repository":{"type":"git","url":"git://github.com/andrewrk/node-mv.git"},"versions":{"2.1.1":{"name":"mv","version":"2.1.1","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":"~2.2.5"},"dependencies":{"mkdirp":"~0.5.1","ncp":"~2.0.0","rimraf":"~2.4.0"},"bugs":{"url":"https://github.com/andrewrk/node-mv/issues"},"homepage":"https://github.com/andrewrk/node-mv","directories":{"test":"test"},"gitHead":"645d8f4c783abf84204be704098fdd41f36ab195","_id":"mv@2.1.1","_shasum":"ae6ce0d6f6d5e0a4f7d893798d03c1ea9559b6a2","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"dist":{"shasum":"ae6ce0d6f6d5e0a4f7d893798d03c1ea9559b6a2","size":3151,"noattachment":false,"key":"/mv/-/mv-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-2.1.1.tgz"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"publish_time":1435010813771,"_cnpm_publish_time":1435010813771,"_hasShrinkwrap":false},"2.1.0":{"name":"mv","version":"2.1.0","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":"~2.2.5"},"dependencies":{"mkdirp":"~0.5.1","ncp":"~2.0.0","rimraf":"~2.4.0"},"bugs":{"url":"https://github.com/andrewrk/node-mv/issues"},"homepage":"https://github.com/andrewrk/node-mv","directories":{"test":"test"},"gitHead":"73bb8fa3750c686784316c82932eb5e71de204c6","_id":"mv@2.1.0","_shasum":"bfcff9360b97460818d65d8f1d45ffb4b7e6b55e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"dist":{"shasum":"bfcff9360b97460818d65d8f1d45ffb4b7e6b55e","size":3030,"noattachment":false,"key":"/mv/-/mv-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-2.1.0.tgz"},"publish_time":1434750259869,"_cnpm_publish_time":1434750259869,"_hasShrinkwrap":false},"2.0.3":{"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"},"_id":"mv@2.0.3","dist":{"shasum":"e9ab707d71dc38de24edcc637a8e2f5f480c7f32","size":3032,"noattachment":false,"key":"/mv/-/mv-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-2.0.3.tgz"},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"publish_time":1406406162349,"_cnpm_publish_time":1406406162349,"_hasShrinkwrap":false},"2.0.2":{"name":"mv","version":"2.0.2","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","proxyquire":"~1.0.1"},"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"},"_id":"mv@2.0.2","dist":{"shasum":"e5763185091c44a7e3ed316ba4e385299c255d75","size":3004,"noattachment":false,"key":"/mv/-/mv-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-2.0.2.tgz"},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"publish_time":1406405569567,"_cnpm_publish_time":1406405569567,"_hasShrinkwrap":false},"2.0.1":{"name":"mv","version":"2.0.1","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":"BSD","engines":{"node":">=0.8.0"},"devDependencies":{"mocha":"~1.20.1","proxyquire":"~1.0.1"},"dependencies":{"mkdirp":"~0.5.0","ncp":"~0.5.1","rimraf":"~2.2.8"},"bugs":{"url":"https://github.com/andrewrk/node-mv/issues"},"homepage":"https://github.com/andrewrk/node-mv","directories":{"test":"test"},"gitHead":"0a04725f5957dcf78a8e9f50432d0603af2f5796","_id":"mv@2.0.1","_shasum":"7aa36d3179d50eb181e39327d874f9f7d6a73166","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"dist":{"shasum":"7aa36d3179d50eb181e39327d874f9f7d6a73166","size":2322,"noattachment":false,"key":"/mv/-/mv-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-2.0.1.tgz"},"publish_time":1404109387647,"_cnpm_publish_time":1404109387647,"_hasShrinkwrap":false},"2.0.0":{"name":"mv","version":"2.0.0","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":"BSD","engines":{"node":">=0.8.0"},"devDependencies":{"proxyquire":"~0.3.4","mocha":"~1.6.0"},"dependencies":{"ncp":"~0.4.2","rimraf":"~2.2.6","mkdirp":"~0.3.5"},"bugs":{"url":"https://github.com/andrewrk/node-mv/issues"},"homepage":"https://github.com/andrewrk/node-mv","_id":"mv@2.0.0","dist":{"shasum":"8e7ec2b5187c84714d77c8e983b1ed29d7a33a1b","size":2314,"noattachment":false,"key":"/mv/-/mv-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-2.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1393397398561,"_cnpm_publish_time":1393397398561,"_hasShrinkwrap":false},"1.0.0":{"name":"mv","version":"1.0.0","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/superjoe30/node-mv.git"},"keywords":["mv","move","rename","device","recursive","folder"],"author":{"name":"Andrew Kelley"},"license":"BSD","engines":{"node":">=0.8.0"},"devDependencies":{"proxyquire":"~0.3.4","mocha":"~1.6.0"},"dependencies":{"ncp":"~0.4.2","rimraf":"~2.2.2","mkdirp":"~0.3.5"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/superjoe30/node-mv/issues"},"_id":"mv@1.0.0","dist":{"shasum":"9caef9a3e5d0c4f4049f123d64c00891139efd11","size":2102,"noattachment":false,"key":"/mv/-/mv-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1378599950031,"_cnpm_publish_time":1378599950031,"_hasShrinkwrap":false},"0.0.5":{"name":"mv","version":"0.0.5","description":"fs.rename but works across devices. same as the unix utility 'mv'","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/superjoe30/node-mv.git"},"keywords":["mv","move","rename","device","recursive","folder"],"author":{"name":"Andrew Kelley"},"license":"BSD","engines":{"node":">=0.8.0"},"devDependencies":{"proxyquire":"~0.3.4","mocha":"~1.6.0"},"readmeFilename":"README.md","_id":"mv@0.0.5","dist":{"shasum":"15eac759479884df1131d6de56bce20b654f5391","size":1922,"noattachment":false,"key":"/mv/-/mv-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-0.0.5.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1363064232824,"_cnpm_publish_time":1363064232824,"_hasShrinkwrap":false},"0.0.4":{"name":"mv","version":"0.0.4","description":"fs.rename but works across devices. same as the unix utility 'mv'","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/superjoe30/node-mv.git"},"keywords":["mv","move","rename","device","recursive","folder"],"author":{"name":"Andrew Kelley"},"license":"BSD","engines":{"node":">=0.8.0 <0.10.0"},"devDependencies":{"proxyquire":"~0.3.4","mocha":"~1.6.0"},"readmeFilename":"README.md","_id":"mv@0.0.4","dist":{"shasum":"1b941d7005b0553164cd9346b77db95547949012","size":1912,"noattachment":false,"key":"/mv/-/mv-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-0.0.4.tgz"},"_npmVersion":"1.1.66","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1355350508784,"_cnpm_publish_time":1355350508784,"_hasShrinkwrap":false},"0.0.3":{"name":"mv","version":"0.0.3","description":"fs.rename but works across devices. same as the unix utility 'mv'","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/superjoe30/node-mv.git"},"keywords":["mv","move","rename","device","recursive","folder"],"author":{"name":"Andrew Kelley"},"license":"BSD","engines":{"node":">=0.8.0 <0.10.0"},"devDependencies":{"proxyquire":"~0.3.4","mocha":"~1.6.0"},"_id":"mv@0.0.3","dist":{"shasum":"bc48ff0e4f43746c4b7a0ef8d05cdae38028579d","size":1958,"noattachment":false,"key":"/mv/-/mv-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-0.0.3.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1350012980812,"_cnpm_publish_time":1350012980812,"_hasShrinkwrap":false},"0.0.2":{"name":"mv","version":"0.0.2","description":"fs.rename but works across devices. same as the unix utility 'mv'","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/superjoe30/node-mv.git"},"keywords":["mv","move","rename","device","recursive","folder"],"author":{"name":"Andrew Kelley"},"license":"BSD","devDependencies":{"proxyquire":"~0.3.4","mocha":"~1.6.0"},"_id":"mv@0.0.2","dist":{"shasum":"7a12f40ba32e7d13d8af1d814c34b00af665d506","size":1934,"noattachment":false,"key":"/mv/-/mv-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-0.0.2.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1350012520516,"_cnpm_publish_time":1350012520516,"_hasShrinkwrap":false},"0.0.1":{"name":"mv","version":"0.0.1","description":"fs.rename but works across devices. same as the unix utility 'mv'","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/superjoe30/node-mv.git"},"keywords":["mv","move","rename","device","recursive","folder"],"author":{"name":"Andrew Kelley"},"license":"BSD","devDependencies":{"proxyquire":"~0.3.4","mocha":"~1.6.0"},"_id":"mv@0.0.1","dist":{"shasum":"a7b2f8d9993c6de8da056db91d7747666f6b38e7","size":1500,"noattachment":false,"key":"/mv/-/mv-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mv/download/mv-0.0.1.tgz"},"_npmVersion":"1.1.62","_npmUser":{"name":"superjoe","email":"superjoe30@gmail.com"},"maintainers":[{"name":"superjoe","email":"superjoe30@gmail.com"}],"directories":{},"publish_time":1350010930751,"_cnpm_publish_time":1350010930751,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/andrewrk/node-mv","bugs":{"url":"https://github.com/andrewrk/node-mv/issues"},"license":"MIT"}