parse-redis-url
A module for parsing redis://..
URLs into
node_redis-friendly options.
Can also create actual client instance for your convenience.
Usage
var redis = ;var parseRedisUrl = redis;var url = 'redis://dummy:password@example.com:5555/42'; // create a new client from URL parseRedisUrl; // simply parse URL for connection options// please note that username is not used by Redis,// so it's not included in the result var options = parseRedisUrl;// { host: 'example.com',// port: 5555,// password: 'password',// database: 42 }