{"_id":"parse-redis-url","_rev":"7-085c423f5b32a15e12fe29ab8275b594","name":"parse-redis-url","description":"Parses Redis URL into a node_redis config object","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"parse-redis-url","version":"0.0.1","description":"Parses Redis URL into a node_redis config object","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/laggyluke/node-parse-redis-url.git"},"author":{"name":"George Miroshnykov","email":"george.miroshnykov@gmail.com"},"license":"BSD","devDependencies":{"mocha":"~1.9.0","redis":"~0.8.3"},"_id":"parse-redis-url@0.0.1","dist":{"shasum":"55bca47dce9655fdd6733e34f95b6374073daf33","tarball":"https://registry.npmjs.org/parse-redis-url/-/parse-redis-url-0.0.1.tgz","integrity":"sha512-rwfKM/JGOk4YMHgXCu3YyO4pdJKnng6vclrJYJKfQyhj80nJG1Y7+GzsWzKTTbmMu03NG8dqydmN/ShsgPXVfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYb6K++RnG8WZ8zE2jYNa9OqRyG+d7/jopgTZpavZ+/AiAqq4Gi598AJKG4TQCBoPIPSss+B4ym73bDaF1WygnIFQ=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"laggyluke","email":"george.miroshnykov@gmail.com"},"maintainers":[{"name":"laggyluke","email":"george.miroshnykov@gmail.com"}]},"0.0.2":{"name":"parse-redis-url","version":"0.0.2","description":"Parses Redis URL into a node_redis config object","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/laggyluke/node-parse-redis-url.git"},"author":{"name":"George Miroshnykov","email":"george.miroshnykov@gmail.com"},"license":"BSD","devDependencies":{"mocha":"^2.1.0","redis":"^0.12.1"},"gitHead":"30d5a50f85b394f9e0b5b7982811ecbede61532e","bugs":{"url":"https://github.com/laggyluke/node-parse-redis-url/issues"},"homepage":"https://github.com/laggyluke/node-parse-redis-url","_id":"parse-redis-url@0.0.2","_shasum":"13c92a0abbe6f2512006a8c49de6cb7b8dd4b277","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"laggyluke","email":"george.miroshnykov@gmail.com"},"maintainers":[{"name":"laggyluke","email":"george.miroshnykov@gmail.com"}],"dist":{"shasum":"13c92a0abbe6f2512006a8c49de6cb7b8dd4b277","tarball":"https://registry.npmjs.org/parse-redis-url/-/parse-redis-url-0.0.2.tgz","integrity":"sha512-axJLMGzfsTBQIYLkhTNKJphJaju2UWP3UlfXoaekpBoZUPItX7mOllzINXR2KZnVsrMuP4zAbVhZ1f25Pa84Ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClxCuJx5mD0FjSXi3z+c4BF6th/z9cqFb1xgvzoyAtqAIgYbukDlbaD0SNjgY36fi5mkewqKyzhRdSgddSpb8C6SI="}]}}},"readme":"parse-redis-url\n===============\n\nA module for parsing `redis://..` URLs into\n[node_redis](https://github.com/mranney/node_redis)-friendly options.\n\nCan also create actual client instance for your convenience.\n\n[![Build Status](https://travis-ci.org/laggyluke/node-parse-redis-url.png?branch=master)](https://travis-ci.org/laggyluke/node-parse-redis-url)\n\nUsage\n-----\n\n```javascript\nvar redis = require('redis');\nvar parseRedisUrl = require('parse-redis-url')(redis);\nvar url = 'redis://dummy:password@example.com:5555/42';\n\n// create a new client from URL\n\nparseRedisUrl.createClient(url, function(err, client) {\n   if (err) return callback(err);\n   // do something with client\n});\n\n\n\n// simply parse URL for connection options\n// please note that username is not used by Redis,\n// so it's not included in the result\n\nvar options = parseRedisUrl.parse(url);\n// { host: 'example.com',\n//  port: 5555,\n//  password: 'password',\n//  database: 42 }\n\n```\n","maintainers":[{"name":"laggyluke","email":"george.miroshnykov@gmail.com"}],"time":{"modified":"2022-06-23T10:59:37.301Z","created":"2013-04-22T21:24:17.466Z","0.0.1":"2013-04-22T21:24:26.834Z","0.0.2":"2015-02-18T11:05:49.895Z"},"author":{"name":"George Miroshnykov","email":"george.miroshnykov@gmail.com"},"repository":{"type":"git","url":"https://github.com/laggyluke/node-parse-redis-url.git"},"homepage":"https://github.com/laggyluke/node-parse-redis-url","bugs":{"url":"https://github.com/laggyluke/node-parse-redis-url/issues"},"license":"BSD","readmeFilename":"README.md"}