Skip to content

webjohnjiang/promise-redis-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a promise style library to use redis client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published