promise-redis-client

1.0.2 • Public • Published

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

/promise-redis-client/

    Package Sidebar

    Install

    npm i promise-redis-client

    Weekly Downloads

    7

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.98 kB

    Total Files

    5

    Last publish

    Collaborators

    • cuiyongjian