node package manager


Helper functions for splitting redis host strings into usable JavaScript objects


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

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

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

More examples in the examples/ folder. Eventually.

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

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