.. | ||
.npmignore | ||
index.js | ||
package.json | ||
README.md | ||
test.js |
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