{
  "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"
  },
  "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",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/aheckmann/muri/issues"
  },
  "_id": "muri@0.3.1",
  "dist": {
    "shasum": "4e939a2cf421328f550bcdef256040b2035e6ff8"
  },
  "_from": "muri@0.3.1",
  "_resolved": "https://registry.npmjs.org/muri/-/muri-0.3.1.tgz"
}
