redis-builder
Easily create/configure a redis client
Installation
npm install redis-builder
Usage
var redis = ;var builder = redis; // create a default clientvar client = ; // create a client from a URLvar client = ; // create a client from a URL with options (passed to the redis.createClient)var client = ; // create a client from propertiesvar client = ; // for fun, just parse a redis URL to see what redis-builder is usingconsole; /*should print:{ host: 'foo.bar.com', port: 88731, password: 'password', database: 4}*/
License
Copyright (c) 2013 Matt Insler
Licensed under the MIT license.