1.0.2 • Published 6 years ago
promise-redis-client v1.0.2
promise-redis-client
This is a promise style library to use redis client. It based on the Node.js promisify, so you must use it when your node.js greater than Node.js 8.
Usage
const redis = require('promise-redis-client')
const client = redis.createClient({
password: ''
})
client.set().then()
// or you can use it in async function with await
async function test() {
await client.set()
}
Test
npm run test