0.0.2 • Published 7 years ago

node-async-redis-client v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Software License Maintainability Build Status Coverage Status

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

0.0.2

7 years ago

0.0.1

7 years ago