{"_id":"muri","_rev":"229867","name":"muri","description":"MongoDB URI parser","dist-tags":{"latest":"1.3.0"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"time":{"modified":"2021-06-03T15:45:18.000Z","created":"2012-11-01T19:40:25.538Z","1.3.0":"2017-10-10T23:21:53.044Z","1.2.2":"2017-07-05T20:31:50.309Z","1.2.1":"2017-02-02T04:37:29.068Z","1.2.0":"2017-01-16T17:30:15.023Z","1.1.1":"2016-09-26T21:14:28.510Z","1.1.0":"2015-04-13T18:45:48.858Z","1.0.0":"2014-10-18T13:31:33.837Z","0.3.1":"2013-02-17T17:52:52.433Z","0.3.0":"2013-01-14T18:37:41.445Z","0.2.0":"2013-01-09T17:42:21.205Z","0.1.0":"2012-12-18T20:43:39.006Z","0.0.5":"2012-12-18T18:37:35.777Z","0.0.4":"2012-12-01T16:24:42.839Z","0.0.3":"2012-11-30T00:55:07.165Z","0.0.2":"2012-11-02T20:12:43.713Z","0.0.1":"2012-11-01T19:40:25.538Z"},"users":{"uwo":true,"hengkiardo":true},"author":{"name":"Aaron Heckmann","email":"aaron.heckmann+github@gmail.com"},"repository":{"type":"git","url":"git://github.com/aheckmann/muri.git"},"versions":{"1.3.0":{"name":"muri","version":"1.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.21.5"},"gitHead":"b0c5b1c9ac0c168143a699c1b63c1c427d25a2df","bugs":{"url":"https://github.com/aheckmann/muri/issues"},"homepage":"https://github.com/aheckmann/muri#readme","_id":"muri@1.3.0","_npmVersion":"5.3.0","_nodeVersion":"8.6.0","_npmUser":{"name":"vkarpov15","email":"val@karpov.io"},"dist":{"shasum":"aeccf3db64c56aa7c5b34e00f95b7878527a4721","size":5545,"noattachment":false,"key":"/muri/-/muri-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/muri-1.3.0.tgz"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/muri-1.3.0.tgz_1507677712894_0.266489670611918"},"directories":{},"publish_time":1507677713044,"_hasShrinkwrap":false,"_cnpm_publish_time":1507677713044},"1.2.2":{"name":"muri","version":"1.2.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.21.5"},"gitHead":"374500c2c5fe77087ec7a3c73968f225727966ee","bugs":{"url":"https://github.com/aheckmann/muri/issues"},"homepage":"https://github.com/aheckmann/muri#readme","_id":"muri@1.2.2","_shasum":"63198132650db08a04cc79ccd00dd389afd2631c","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"vkarpov15","email":"val@karpov.io"},"dist":{"shasum":"63198132650db08a04cc79ccd00dd389afd2631c","size":5560,"noattachment":false,"key":"/muri/-/muri-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/muri-1.2.2.tgz"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/muri-1.2.2.tgz_1499286710131_0.2210629980545491"},"directories":{},"publish_time":1499286710309,"_hasShrinkwrap":false,"_cnpm_publish_time":1499286710309},"1.2.1":{"name":"muri","version":"1.2.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.21.5"},"gitHead":"f60bac2b426c3ae1f62a62296d25a1e0be2871dd","bugs":{"url":"https://github.com/aheckmann/muri/issues"},"homepage":"https://github.com/aheckmann/muri#readme","_id":"muri@1.2.1","_shasum":"ec7ea5ce6ca6a523eb1ab35bacda5fa816c9aa3c","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"vkarpov15","email":"val@karpov.io"},"dist":{"shasum":"ec7ea5ce6ca6a523eb1ab35bacda5fa816c9aa3c","size":5587,"noattachment":false,"key":"/muri/-/muri-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/muri-1.2.1.tgz"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/muri-1.2.1.tgz_1486010248833_0.09376650396734476"},"directories":{},"publish_time":1486010249068,"_cnpm_publish_time":1486010249068,"_hasShrinkwrap":false},"1.2.0":{"name":"muri","version":"1.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.21.5"},"gitHead":"475fac428cfdc1d2ea4328ed89a76b06035b09be","bugs":{"url":"https://github.com/aheckmann/muri/issues"},"homepage":"https://github.com/aheckmann/muri#readme","_id":"muri@1.2.0","_shasum":"b86383c902920b09ebe62af0e75c94de5f33cd3d","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"vkarpov15","email":"val@karpov.io"},"dist":{"shasum":"b86383c902920b09ebe62af0e75c94de5f33cd3d","size":5508,"noattachment":false,"key":"/muri/-/muri-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/muri-1.2.0.tgz"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/muri-1.2.0.tgz_1484587813120_0.11777244694530964"},"directories":{},"publish_time":1484587815023,"_cnpm_publish_time":1484587815023,"_hasShrinkwrap":false},"1.1.1":{"name":"muri","version":"1.1.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.21.5"},"gitHead":"21e47551051dfed98a441c152066a5ab3229a1ce","bugs":{"url":"https://github.com/aheckmann/muri/issues"},"homepage":"https://github.com/aheckmann/muri#readme","_id":"muri@1.1.1","_shasum":"64bd904eaf8ff89600c994441fad3c5195905ac2","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"vkarpov15","email":"val@karpov.io"},"dist":{"shasum":"64bd904eaf8ff89600c994441fad3c5195905ac2","size":5303,"noattachment":false,"key":"/muri/-/muri-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/muri-1.1.1.tgz"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/muri-1.1.1.tgz_1474924467144_0.3518297451082617"},"directories":{},"publish_time":1474924468510,"_cnpm_publish_time":1474924468510,"_hasShrinkwrap":false},"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":"valkar207@gmail.com"}],"dist":{"shasum":"a3a6d74e68a880f433a249a74969cbb665cc0add","size":5176,"noattachment":false,"key":"/muri/-/muri-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/muri-1.1.0.tgz"},"directories":{},"publish_time":1428950748858,"_cnpm_publish_time":1428950748858,"_hasShrinkwrap":false},"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","size":5140,"noattachment":false,"key":"/muri/-/muri-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/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"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"directories":{},"publish_time":1413639093837,"_cnpm_publish_time":1413639093837,"_hasShrinkwrap":false},"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"},"readmeFilename":"README.md","_id":"muri@0.3.1","dist":{"shasum":"861889c5c857f1a43700bee85d50731f61727c9a","size":5056,"noattachment":false,"key":"/muri/-/muri-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/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"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"directories":{},"publish_time":1361123572433,"_cnpm_publish_time":1361123572433,"_hasShrinkwrap":false},"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","size":4739,"noattachment":false,"key":"/muri/-/muri-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/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"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"directories":{},"publish_time":1358188661445,"_cnpm_publish_time":1358188661445,"_hasShrinkwrap":false},"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","size":4686,"noattachment":false,"key":"/muri/-/muri-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/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"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"directories":{},"publish_time":1357753341205,"_cnpm_publish_time":1357753341205,"_hasShrinkwrap":false},"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","size":4662,"noattachment":false,"key":"/muri/-/muri-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/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"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"directories":{},"publish_time":1355863419006,"_cnpm_publish_time":1355863419006,"_hasShrinkwrap":false},"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","size":4602,"noattachment":false,"key":"/muri/-/muri-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/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"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"directories":{},"publish_time":1355855855777,"_cnpm_publish_time":1355855855777,"_hasShrinkwrap":false},"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","size":4513,"noattachment":false,"key":"/muri/-/muri-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/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"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"directories":{},"publish_time":1354379082839,"_cnpm_publish_time":1354379082839,"_hasShrinkwrap":false},"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","size":4405,"noattachment":false,"key":"/muri/-/muri-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/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"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"directories":{},"publish_time":1354236907165,"_cnpm_publish_time":1354236907165,"_hasShrinkwrap":false},"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","size":4310,"noattachment":false,"key":"/muri/-/muri-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/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"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"directories":{},"publish_time":1351887163713,"_cnpm_publish_time":1351887163713,"_hasShrinkwrap":false},"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","size":3600,"noattachment":false,"key":"/muri/-/muri-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/muri/download/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"},{"name":"vkarpov15","email":"valkar207@gmail.com"}],"directories":{},"publish_time":1351798825538,"_cnpm_publish_time":1351798825538,"_hasShrinkwrap":false}},"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\n\n[MIT](https://github.com/aheckmann/muri/blob/master/LICENSE)\n","_attachments":{},"homepage":"https://github.com/aheckmann/muri#readme","bugs":{"url":"https://github.com/aheckmann/muri/issues"},"license":"MIT"}