redsplit

Helper functions for splitting redis host strings into usable JavaScript objects

npm install redsplit
4 downloads in the last week
15 downloads in the last month

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.

npm loves you