A Redis client for Node with Promise support
This is a complete promise-ready Redis client for node.js based on mranney/node_redis. It supports all Redis commands. This library adds promise support while also maintaining the original callback support.
Install with:
npm install redis-promised
Pieter Noordhuis has provided a binding to the official hiredis C library, which is non-blocking and fast. To use hiredis, do:
npm install hiredis redis-promised
If hiredis is installed, redis-promised will use it by default. Otherwise, a pure JavaScript parser will be used.
If you use hiredis, be sure to rebuild it whenever you upgrade your version of node. There are mysterious failures that can happen between node and native code modules after a node upgrade.