{"_id":"muri","_rev":"24-290d03502fc176dda100ab357c312940","name":"muri","description":"MongoDB URI parser","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.1":{"name":"muri","version":"0.0.1","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.6.0"},"_id":"muri@0.0.1","dist":{"shasum":"f6eb5cc2b265ed99fd73c75f8c4e41e366a0ea58","tarball":"http://registry.npmjs.org/muri/-/muri-0.0.1.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{}},"0.0.2":{"name":"muri","version":"0.0.2","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.6.0"},"_id":"muri@0.0.2","dist":{"shasum":"e6ba5a0070803c97c1960259553768389c27f7f2","tarball":"http://registry.npmjs.org/muri/-/muri-0.0.2.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{}},"0.0.3":{"name":"muri","version":"0.0.3","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.6.0"},"_id":"muri@0.0.3","dist":{"shasum":"1f789f33ce8a6dce3ff7c7cf1a71a0ef6b8402a7","tarball":"http://registry.npmjs.org/muri/-/muri-0.0.3.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{}},"0.0.4":{"name":"muri","version":"0.0.4","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.6.0"},"_id":"muri@0.0.4","dist":{"shasum":"04529461b3e38b44a662dd0ded59756de840b58e","tarball":"http://registry.npmjs.org/muri/-/muri-0.0.4.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{}},"0.0.5":{"name":"muri","version":"0.0.5","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.6.0"},"_id":"muri@0.0.5","dist":{"shasum":"c4b978017cea3fcf3e0ed4f1855b9cba33c33a3b","tarball":"http://registry.npmjs.org/muri/-/muri-0.0.5.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{}},"0.1.0":{"name":"muri","version":"0.1.0","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.6.0"},"_id":"muri@0.1.0","dist":{"shasum":"6677a15c1f6418700883a50137a10e03b9b95e03","tarball":"http://registry.npmjs.org/muri/-/muri-0.1.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{}},"0.2.0":{"name":"muri","version":"0.2.0","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.6.0"},"_id":"muri@0.2.0","dist":{"shasum":"f614cbb0648908b92fb9e9d7f7bb8bbb47b671d8","tarball":"http://registry.npmjs.org/muri/-/muri-0.2.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{}},"0.3.0":{"name":"muri","version":"0.3.0","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.6.0"},"_id":"muri@0.3.0","dist":{"shasum":"39550abbd39ad8f1543ea97934ea28e8130cf49b","tarball":"http://registry.npmjs.org/muri/-/muri-0.3.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{}},"0.3.1":{"name":"muri","version":"0.3.1","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.6.0"},"_id":"muri@0.3.1","dist":{"shasum":"861889c5c857f1a43700bee85d50731f61727c9a","tarball":"http://registry.npmjs.org/muri/-/muri-0.3.1.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{}},"1.0.0":{"name":"muri","version":"1.0.0","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.21.5"},"bugs":{"url":"https://github.com/aheckmann/muri/issues"},"homepage":"https://github.com/aheckmann/muri","_id":"muri@1.0.0","dist":{"shasum":"de3bf6bd71d67eae71d76689b950d2de118695c6","tarball":"http://registry.npmjs.org/muri/-/muri-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"aaron","email":"aaron.heckmann@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"}],"directories":{}},"1.1.0":{"name":"muri","version":"1.1.0","description":"MongoDB URI parser","main":"index.js","scripts":{"test":"make test"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"keywords":["mongodb","uri","parser"],"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"license":"MIT","devDependencies":{"mocha":"1.21.5"},"gitHead":"8f373948ef317865044994aaa98a013e769b2952","bugs":{"url":"https://github.com/aheckmann/muri/issues"},"homepage":"https://github.com/aheckmann/muri","_id":"muri@1.1.0","_shasum":"a3a6d74e68a880f433a249a74969cbb665cc0add","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"vkarpov15","email":"valkar207@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"vkarpov15","email":"val@karpov.io"}],"dist":{"shasum":"a3a6d74e68a880f433a249a74969cbb665cc0add","tarball":"http://registry.npmjs.org/muri/-/muri-1.1.0.tgz"},"directories":{}}},"readme":"#Meet Muri!\n\nMuri is your friendly neighborhood [MongoDB URI](http://www.mongodb.org/display/DOCS/Connections) parser for Node.js.\n\n\n###Install\n\n $ npm install muri\n\n###Use\n\n```js\n var muri = require('muri');\n var o = muri('mongodb://user:pass@local,remote:27018,japan:27019/neatdb?replicaSet=myreplset&journal=true&w=2&wtimeoutMS=50');\n\n console.log(o);\n\n { hosts: [ { host: 'local', port: 27017 },\n { host: 'remote', port: 27018 },\n { host: 'japan', port: 27019 } ],\n db: 'neatdb',\n options: {\n replicaSet: 'myreplset',\n journal: true,\n w: 2,\n wtimeoutMS: 50\n },\n auth: {\n user: 'user',\n pass: 'pass'\n }\n }\n```\n\n### Details\n\nThe returned object contains the following properties:\n\n- db: the name of the database. defaults to \"admin\" if not specified\n- auth: if auth is specified, this object will exist `{ user: 'username', pass: 'password' }`\n- hosts: array of host/port objects, one for each specified `[{ host: 'local', port: 27107 }, { host: '..', port: port }]`\n - if a port is not specified for a given host, the default port (27017) is used\n - if a unix domain socket is passed, host/port will be undefined and `ipc` will be set to the value specified `[{ ipc: '/tmp/mongodb-27017' }]`\n- options: this is a hash of all options specified in the querystring\n\n[LICENSE](https://github.com/aheckmann/muri/blob/master/LICENSE)\n","maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"vkarpov15","email":"val@karpov.io"}],"time":{"modified":"2015-04-13T18:45:48.858Z","created":"2012-11-01T19:40:24.868Z","0.0.1":"2012-11-01T19:40:25.538Z","0.0.2":"2012-11-02T20:12:43.713Z","0.0.3":"2012-11-30T00:55:07.165Z","0.0.4":"2012-12-01T16:24:42.839Z","0.0.5":"2012-12-18T18:37:35.777Z","0.1.0":"2012-12-18T20:43:39.006Z","0.2.0":"2013-01-09T17:42:21.205Z","0.3.0":"2013-01-14T18:37:41.445Z","0.3.1":"2013-02-17T17:52:52.433Z","1.0.0":"2014-10-18T13:31:33.837Z","1.1.0":"2015-04-13T18:45:48.858Z"},"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"users":{"uwo":true},"homepage":"https://github.com/aheckmann/muri","keywords":["mongodb","uri","parser"],"bugs":{"url":"https://github.com/aheckmann/muri/issues"},"license":"MIT","readmeFilename":"README.md","_attachments":{},"_etag":"\"1A8HZR3VWLZ26QA17AQVL78FR\""}