Light wrapper over redis_node with first class async & promise support.
npm install async-redisAsync Redis
===========================







Light weight wrapper over the node_redis library with first class async & promise support.
npm install --save async-redis
`Usage Example
$3
`js
const asyncRedis = require("async-redis");
const client = asyncRedis.createClient();client.on("error", function (err) {
console.log("Error " + err);
});
const asyncBlock = async () => {
await client.set("string key", "string val");
const value = await client.get("string key");
console.log(value);
await client.flushall("string key");
};
`$3
`js
const redis = require("redis");
const client = redis.createClient();
const asyncRedis = require("async-redis");
const asyncRedisClient = asyncRedis.decorate(client);
``For information on redis commands and configuration visit node_redis
docs.