0.0.2 • Published 7 years ago
node-async-redis-client v0.0.2
node-async-redis-client
Using redis client more wasy (based on redis and bluebird)
Install
npm i node-async-redis-client
Usage
const Client = require('node-async-redis-client');
const connectionSettings = {
host: 'localhost',
port: 6379,
};
const value = await Client.invoke(connectionSettings, async client => {
const key = "key";
return await client.getAsync(key);
});
console.log(value);
License
MIT
Copyright ©2018 Hiroaki SHIBUKI a.k.a. hidori