Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Helper functions for splitting redis host strings into usable JavaScript objects
JavaScript CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
src
test
.gitignore
.travis.yml
Makefile
README.md
index.js
package.json

README.md

redSplit

An easy way to break redis host strings into objects usable by Redis-powered Node.js modules.

Example

var red = require('redsplit');
var nconf = require('nconf');
require('nconf-redis');

var redisObj = red.split(process.env.REDIS, 'nconf')
nconf.use('redis', redisObj)

More examples in the examples/ folder. Eventually.

Supported Modules

  • connect-redis
  • nconf
  • node-redis (redis)

To add more, submit a GitHub issue or Pull Request.

Something went wrong with that request. Please try again.