redisc

create redis clients with connection strings

redisc

create redis clients with connection strings

var redisc = require('redisc')

redisc('redis://localhost/0')
// => redis client

redisc('redis://authkey@localhost/1')
// => authenticated redis client

redisc(connStr: String) =>RedisClient

Returns an initialized RedisClient, using the npm [redis](https://npmjs.org/package/redis) module

Returns an object with the various redis connection properties:

{
  auth: String?,
  host: String, // default 'localhost'
  port: Number, // default 6397
  db: Number    // default 0
}
$ npm install redisc

From package root:

$ npm install
$ npm test

MIT. (c) 2013 Agile Diagnosis hello@agilediagnosis.com. See LICENSE.md