pedis
v1.0.2
Published
Pedis is promiserify redis module
Downloads
1
Readme
Redis! Pedis!
Pedis is promiserify redis module.
Installation
$ npm install pedis
Using redis with native promises is easy:
var redis = require('pedis');
Now you can use redis
object as usual, but each command will return a promise:
var client = redis.createClient();
client.set('key', 'value')
.then(data => console.log(data))
.catch(err => console.log(err));