1.0.2 • Published 8 years ago

pedis v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

Redis! Pedis!

Pedis is promiserify redis module.

NPM Version NPM Downloads Linux Build Test Coverage

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));