Distro transports plug-ins.
Published on Jun 04, 2014distro-redis
I yanked the support for Redis from the Distro module and moved into distro-redis. This makes distro lightweight and remove dependencies on third party modules on the code (for now).
If you want to use redis you will need to add dependencies no only on distro but also on distro-redis
and when creating the distro factory pass the module to the create
method.
var distro = require('distro');
var distroRedis = require('distro-redis')
var server = distro.create(distroRedis).server(options);
//Or
var client = distro.create(distroRedis).client(options);