redsplit

0.0.2b • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i redsplit

Weekly Downloads

1

Version

0.0.2b

License

none

Last publish

Collaborators

  • thegoleffect