cacheman-redis-promised
Basically an extension of cacheman-redis module that uses promises.
Instalation
$ npm install cacheman-redis-promised
Usage
const cache = require('cacheman-redis-promised')({host: '127.0.0.1', port: 6379})
or
const cache = require('cacheman-redis-promised')('redis://.....')
cache.set('some key', 'hello there').then(function(data) {
console.log(data);
return cache.get('some key');
}).then(function(data) {
console.log(data);
return cache.del('some key');
}).then(function() {
console.log('value deleted');
});