pedis

1.0.2 • Public • Published

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

Dependencies (2)

Dev Dependencies (2)

Package Sidebar

Install

npm i pedis

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • nook