metamaps--metamaps/realtime/node_modules/redis-url/README.md

19 lines
345 B
Markdown
Raw Normal View History

2014-02-10 07:03:06 +00:00
# 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