Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
npm module: create redis clients with connection strings
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
LICENSE.md
README.md
index.js
package.json

README.md

redisc

create redis clients with connection strings

usage

var redisc = require('redisc')

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

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

api

redisc(connStr: String) =>RedisClient

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

redisc.parse(connStr: String) => Object

Returns an object with the various redis connection properties:

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

installation

$ npm install redisc

running the tests

From package root:

$ npm install
$ npm test

contributors

license

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

Something went wrong with that request. Please try again.