1.0.2 • Published 5 years ago

promise-redis-client v1.0.2

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

npm version downloads

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

LICENSE

MIT LICENSE