{"_id":"mongo-utils","_rev":"31-3fa1424bec4b23c46190056bc23812b4","name":"mongo-utils","description":"Friendly interface to mongodump and mongorestore commands.","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"mongo-utils","version":"0.1.0","main":"lib/utils.js","dependencies":{"heroku":"0.0.6"},"devDependencies":{"coffee-script":"1.3.x"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"cake build"},"_id":"mongo-utils@0.1.0","description":"mongo-utils: Utilities for managing MongoDB databases =====================================================","dist":{"shasum":"4a7eab8f9c3fc08535247cc9a35b05d589b973b3","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.1.0.tgz","integrity":"sha512-JjIvn5snMUyGe+fxvyMllFwmFaIfoR4Evx2fl8TDWHhUZzVDlaVu8qmuj71/ok997wl2VK8tkAFelG0OKWn57A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj5Lbtjfe9ZiCbeeV1FeDJQahW5nLzTxZfPc3Tv5HDEQIgBNhyuYpbJkilWXHzmEy+ea15x1BStIDYpwj0LMjyiW4="}]},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.1.1":{"name":"mongo-utils","version":"0.1.1","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.6"},"devDependencies":{"coffee-script":"1.3.x"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"cake build"},"_id":"mongo-utils@0.1.1","description":"mongo-utils: Utilities for managing MongoDB databases =====================================================","dist":{"shasum":"53e2aa70549f2e053fcb464ff7b727b1892f1b6f","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.1.1.tgz","integrity":"sha512-rwPO7XoAYW97KtvkdCYKSmIN9v+yQrUnxuC6yi8AluIUHkOOOK/ZNVYY98zOHQzKD4t7pH+ikgxrhuKVl5bVgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBRJF8yQZJp84cgg74PyphnJJ04upl/yN2NyLEZandxhAiEA+stbh8O7Lo4aU5hAFiXPMbp46RDo7426s4uGxIuJ+mw="}]},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.1.2":{"name":"mongo-utils","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.1.2","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.6"},"devDependencies":{"coffee-script":"1.3.x"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"cake build"},"_id":"mongo-utils@0.1.2","description":"mongo-utils: Utilities for managing MongoDB databases =====================================================","dist":{"shasum":"d5b4ff0a22add8b7c2ff2a13c547d588543ad849","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.1.2.tgz","integrity":"sha512-9ocr4jUf1bBIPlGbCt0wax3awXU1d6nKOPGOFhAwaaNTPaiHSD+iUL7yzkshEilNCcmH9gk3RKkOQ9vIVKph1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyJNwCNgX3NoAI250t/ZMXfEoj62FmqeGJDUCqolnc2QIgOU3G4MPESJvikT+er8TFSA1zHScmxwW6M8MJR73FiTM="}]},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.1.3":{"name":"mongo-utils","description":"A friendly interface to MongoDB's mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.1.3","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.6"},"devDependencies":{"coffee-script":"1.3.x"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"cake build"},"_id":"mongo-utils@0.1.3","dist":{"shasum":"be29505a292d92bdfbff65880bff48c412a3c7ee","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.1.3.tgz","integrity":"sha512-eLNYon1Dwqt/vFHr90ags3T9zXXTiNVn/ylG+1vHRO2P68vZajZSi5bILjRwD/QtRbGQh+MuaT3VsJdvkQxebA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8pzFLOHxNUQB0HB6JOIqbP1FtfB6BQ7CwYxHFQDfZnAiEA7jt40BQX3/7niPKZXfy1MSnV7zuYkwDeHfNljiTSPTQ="}]},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.2.0":{"name":"mongo-utils","description":"A friendly interface to MongoDB's mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.2.0","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.6","mongoson":"0.0.4"},"devDependencies":{"coffee-script":"1.4.x"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"npm test","pretest":"cake build","test":"coffee ./test/utils.coffee"},"_id":"mongo-utils@0.2.0","dist":{"shasum":"eb7ba345854b2212d001991e19082eb33898d892","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.2.0.tgz","integrity":"sha512-5s6RvillQTeul/lk3/36N1RgqubXJA2AU3/bM7bvmS6MHYF8CUziEy31vFlMtWXisEFZ0yXT2tJ1YSCcQfnxjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH2gPszFbS3HLHMUyEGXPR5DA5YXMX1+kISJJGLxHKJsAiAUkKat8qCTWM1cPss0zeziD0Psb2vhQZDl4/qhiRq1Kw=="}]},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.2.1":{"name":"mongo-utils","description":"A friendly interface to MongoDB's mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.2.1","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.6","mongoson":"0.0.4"},"devDependencies":{"coffee-script":"1.4.x"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"npm test","pretest":"cake build","test":"coffee ./test/utils.coffee"},"_id":"mongo-utils@0.2.1","dist":{"shasum":"b1b19fbce0bb6621bf4e70ca6db14cf7af123521","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.2.1.tgz","integrity":"sha512-ElpzqWlziVKcw6Qoa1aNbpxPf49CpKWB61/5VmaHu3FSvu4pbaLjY9wDrrkADGyNURw5KP1fCSXt7o/1OYrzKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKGX1ot3lkO4OZ8XI/ADura1zFA/mEifV/AEVjcVQrwgIhAM8wIIg0U4PM2nYSRcQO6NnkvIyxfsApp/DnW3IEBHHz"}]},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.3.0":{"name":"mongo-utils","description":"A friendly interface to MongoDB's mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.3.0","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.6","mongoson":"0.0.4"},"devDependencies":{"coffee-script":"1.4.x"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"npm test","pretest":"cake build","test":"coffee ./test/utils.coffee"},"_id":"mongo-utils@0.3.0","dist":{"shasum":"84fae1929a91773cb399a269e99ea8d130bcd2d7","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.3.0.tgz","integrity":"sha512-rDNG5hSfacasUV2tGtOteHs9RpORcnHd5HsxqExY/XEfytlpVQxdyY9yY/lz19PWsEGV8Ep4DjxyQAzr8Sfa/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG17XToi/T55RRgxKJC8794J8gvRzB9FJHiTq4/Qz7ZqAiEA7M/laPoIjj0DqixyGfDQk0SYuFFvLsKOy59usmOVNRk="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"meryn","email":"merynstol@gmail.com"},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.3.2":{"name":"mongo-utils","description":"A friendly interface to MongoDB's mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.3.2","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.6","mongoson":"0.0.4"},"devDependencies":{"coffee-script":"1.4.x"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"npm test","pretest":"cake build","test":"coffee ./test/utils.coffee"},"_id":"mongo-utils@0.3.2","dist":{"shasum":"59297f45079cd0aa4613be6002bdf3168399aa4d","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.3.2.tgz","integrity":"sha512-IlCYFdxmootpBOGc36ccxqHUn0fYjEi05PtKBrhUnrGvLIKUQycjy1eFlvlUy+s38vWC8Ru0Gwb4qyQEFAvRPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcxb+090NcXKIYV384Xqzf/TfP+chhspK2ptnjhFgBiAiAFOKsMGoyQOY2qn+nEaTxnDhwi8Rcc2F5kXQN8tQnQPw=="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"meryn","email":"merynstol@gmail.com"},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.4.1":{"name":"mongo-utils","description":"A friendly interface to MongoDB's mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.4.1","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.7","mongoson":"0.0.4"},"devDependencies":{"coffee-script":"1.4.x","mocha":"~1.9.0"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"npm test","pretest":"cake build","test":"make test"},"_id":"mongo-utils@0.4.1","dist":{"shasum":"149b47c444b30f9c678b01875a247232a5f7c408","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.4.1.tgz","integrity":"sha512-VtTomeslsmtpLn8nPPwK4aoB+QRmbMTEiohWCM/RG6C4m0FKy3pfzhJ++yHv1sZhXbWhVzgqfzdEDcPurWr8kg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHFp7Yll0nHK/+YQ2XMgooOWmAmNs0n4zUXM/bKeCnyJAiEAju0CXbXIHCzTEkbk6LZ9WWYi0g979YYSNJBeiRZyFhI="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"meryn","email":"merynstol@gmail.com"},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.4.2":{"name":"mongo-utils","description":"A friendly interface to MongoDB's mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.4.2","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.7","mongoson":"0.0.4"},"devDependencies":{"coffee-script":"1.4.x","mocha":"~1.9.0"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"npm test","pretest":"cake build","test":"make test"},"_id":"mongo-utils@0.4.2","dist":{"shasum":"8a42e12076cc11d58ea3ed9994eea18fc6dee62e","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.4.2.tgz","integrity":"sha512-RUQ65sgHeH3u4F6sQ/VXaZ0a7OlmgoKmw8xdqy97m56DlmpRiGQQWEh3uO3/4nKXjFJH3xr6T9YLmRvQkATOUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2lZYfitFbO8TuTm/wHUg7xODabXLeIFwYkcJb3bO/pAIhANJhxwAl11j5lo2NSAtTPLNgdylG8esa2hrkmP7Ey/K6"}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"meryn","email":"merynstol@gmail.com"},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.4.3":{"name":"mongo-utils","description":"A friendly interface to MongoDB's mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.4.3","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.7","mongoson":"0.0.4"},"devDependencies":{"coffee-script":"1.4.x","mocha":"~1.9.0"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"npm test","pretest":"cake build","test":"make test"},"_id":"mongo-utils@0.4.3","dist":{"shasum":"9b1ea817a5f89d2dfb4c6fd82729b25299410791","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.4.3.tgz","integrity":"sha512-xAKTAtFMEVj+3Gae+0RhU4FlzSwMIIhN+tKgpqaGE4jX2K1UwByPeyyNigPFp3W5EyFBtQpYInQFJAGHMzbGwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1pMvFhICnwHtcsHwpCV/uyQUwVmNeuAuleUC9+WGupgIhAMB4e7hX8fcW2eXs22Au+MJbMB2XDvckDBRGgRklGMyX"}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"meryn","email":"merynstol@gmail.com"},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.4.4":{"name":"mongo-utils","description":"Friendly interface to mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.4.4","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.0.7","mongoson":"0.1.x"},"devDependencies":{"coffee-script":"1.6.x","mocha":"~1.9.0"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"npm test","pretest":"make build","test":"make test"},"_id":"mongo-utils@0.4.4","dist":{"shasum":"2b7a80727f7b565a0358d3127d95f6e82ba622b1","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.4.4.tgz","integrity":"sha512-ACsMe16IN1y/Ai+OKdCOcblVOyb5X3Lf4Ezs+ybb/iZ+ZVZnxZ9ENjtt/ciGx8CL4dHaUIqu3Hu6+O7s7jhsXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHfyAaJe4raV09j+nogh8DhvotjzVdY0JBUeWo+sGgoTAiEAjJxkBotePWDxVdUk/LZ/3ThaLqZN5XHvUjt5KUUf5VM="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"meryn","email":"merynstol@gmail.com"},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.4.5":{"name":"mongo-utils","description":"Friendly interface to mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.4.5","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.1.x","mongoson":"0.1.x"},"devDependencies":{"coffee-script":"1.6.x","mocha":"~1.9.0"},"engines":{"node":"0.8.x","npm":"1.1.x"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"npm test","pretest":"make build","test":"make test"},"_id":"mongo-utils@0.4.5","dist":{"shasum":"eb4e8e8c5cbd36e0b02000125d0eb55b4a2a0cf0","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.4.5.tgz","integrity":"sha512-P2uFNVSNlC5TLdh4Qx0MlQ+5apZAw2QyT7DegFeZ5KkhG9WiH5gS96bd1Q8JoID+lRXorKatsgo725F9lkUjyw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqq2TYmzUaMIIxJhfyhyBsIyTCSsP+n41ce/UHhycubAiAnsy+NbjBxj0Ctb1IXIJXvPs1CJi71pw1z6ShxHcx7ZA=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"meryn","email":"merynstol@gmail.com"},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}]},"0.5.0":{"name":"mongo-utils","description":"Friendly interface to mongodump and mongorestore commands.","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"version":"0.5.0","directories":{"lib":"./lib"},"main":"lib/utils.js","dependencies":{"heroku":"0.1.x","mongoson":"0.2.x"},"devDependencies":{"coffee-script":"1.6.x","mocha":"~1.9.0"},"engines":{"node":">=0.8","npm":">=1.1"},"optionalDependencies":{},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"homepage":"https://github.com/meryn/mongo-utils","repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"scripts":{"prepublish":"npm test","pretest":"make build","test":"make test"},"gitHead":"efeda5090a76ff5614683c4b27d661930edce9d2","bugs":{"url":"https://github.com/meryn/mongo-utils/issues"},"_id":"mongo-utils@0.5.0","_shasum":"7329a96c5e822c1746663b0e1d07b9cae23e4779","_from":".","_npmVersion":"2.2.0","_nodeVersion":"1.0.3","_npmUser":{"name":"meryn","email":"merynstol@gmail.com"},"maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}],"dist":{"shasum":"7329a96c5e822c1746663b0e1d07b9cae23e4779","tarball":"https://registry.npmjs.org/mongo-utils/-/mongo-utils-0.5.0.tgz","integrity":"sha512-LOrIhBXDehr1nQkqv3AJMCzMxzBcuRcjicEekqBD2gB0WJqwoeoXZeNpg3dbfiIvf8HR9H5RB5wlsvd6oxOugw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHMwyGKkFFHs66pbAseLyNmuG/8z+zpCtVycXf+LnkMwIhAMU/Kd4ZTR+7RMbPhd0mcDtJ1Mxd1WLbhheV3T+88Vyw"}]}}},"readme":"# mongo-utils [![Build Status](https://travis-ci.org/meryn/mongo-utils.png?branch=master)](https://travis-ci.org/meryn/mongo-utils)\n\nmongo-utils provides a friendly interface to MongoDB's mongodump and mongorestore commands, as well as some utility functions.\n\n## Synchronous functions\n \n```coffee\nutils.parseConnectionString connectionString # mongo connection options object\nutils.makeRestoreCommand connectionString, sourceDir # mongorestore ...\nutils.makeDumpCommand connectionString, targetDir # mongodump ...\n```\n\n## Asynchronous functions\n\nThese functions simply wrap [`child_process.exec`](http://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback) in a convenient interface. There is absolutely no validation happening. Thus, the absence of an error (as `err` argument) does not mean the dump or restore succeeded.\n\nI advise to inspect `stdout` and `stderr` yourself if you use this module for any important dumps or restores, or verify the results otherwise.\n\n```coffee\nutils.dumpDatabase connectionString, dirName, (err, stdout, stderr) ->\nutils.dumpHerokuMongoHQDatabase appName, dirName, (err, stdout, stderr) ->\nutils.restoreDatabase connectionString, dirName, (err, stdout, stderr) ->\nutils.dumpHerokuMongoHQDatabase appName, dirName, (err, stdout, stderr) ->\n```\n\nThe heroku-mongohq functions look up the `MONGOHQ_URL` environment variable of your Heroku app, using the [heroku](https://github.com/toots/node-heroku) module.\n\n## Configuration\n\nmongo-utils logs some messages to allow you to see what's going on behind the scenes, primarily when doing the using the dump or restore commands. To see what's being logged, you may assign a log function which takes a single `message` argument to `utils.log`. By default, `utils.log` is a noop.\n\n```coffee\nutils = require \"mongo-utils\"\nutils.log = (msg) -> console.log msg\n```\n\n## Prerequisites\n\nFor the commands to work, you need to have `mongorestore` and `mongodump` in your path.  \nThe Heroku-specific commands require a `HEROKU_API_KEY` environment variable to be set.\n\n## License\n\nmongo-utils is released under the [MIT License](http://opensource.org/licenses/MIT).  \nCopyright (c) 2013 Meryn Stol","maintainers":[{"name":"meryn","email":"merynstol@gmail.com"}],"time":{"modified":"2022-06-20T06:10:54.289Z","created":"2013-01-12T11:50:53.292Z","0.1.0":"2013-01-12T11:51:05.249Z","0.1.1":"2013-01-12T14:00:16.373Z","0.1.2":"2013-01-12T14:29:37.589Z","0.1.3":"2013-01-12T14:41:43.102Z","0.2.0":"2013-02-07T23:33:54.403Z","0.2.1":"2013-02-11T21:29:32.267Z","0.3.0":"2013-04-12T13:32:50.719Z","0.3.2":"2013-04-12T13:53:11.438Z","0.4.1":"2013-04-13T13:38:33.681Z","0.4.2":"2013-04-14T15:19:59.917Z","0.4.3":"2013-04-14T15:26:24.960Z","0.4.4":"2013-05-10T13:59:25.083Z","0.4.5":"2013-05-23T17:02:48.797Z","0.5.0":"2015-04-14T19:24:59.044Z"},"author":{"name":"Meryn Stol","email":"merynstol@gmail.com"},"repository":{"type":"git","url":"git://github.com/meryn/mongo-utils.git"},"users":{"elosoman":true},"homepage":"https://github.com/meryn/mongo-utils","keywords":["mongodb","mongodump","mongorestore","heroku","mongohq"],"bugs":{"url":"https://github.com/meryn/mongo-utils/issues"},"readmeFilename":"README.md"}