0.1.5 • Published 6 years ago
node-redis-instance v0.1.5
node-redis-instance
Usage Example
const conf = { port: "6379", host: "127.0.0.1" };
const Redis = require('async-redis-instance').getInstance(conf.host,conf.port);
const client = Redis.client;
(async () => {
await client.set("key", "value");
const val = await client.get("key");
console.log(val);
})();