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.
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()
}
npm run test