metamaps--metamaps/realtime/node_modules/redis-url/README.md
2014-02-10 02:03:06 -05:00

345 B

redis-url

Usage

// use $REDIS_URL or redis://localhost:6379
var redis = require('redis-url').connect();

// specify a url
var redis = require('redis-url').connect(process.env.SOMEREDIS_URL);

Url format

redis://[db-number[:password]@]host:port[?option=value]

db-number is integer from 1 to 15

License

MIT