Skip to content

Helper functions for splitting redis host strings into usable JavaScript objects

Notifications You must be signed in to change notification settings

thegoleffect/redsplit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Helper functions for splitting redis host strings into usable JavaScript objects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published