@webtanzhi/redis
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Redis Promisify

const redis = require('@wentazhi/redis');

const client = redis.createClient(options);

async function(key){
  client.asyncSet(key, value, 1000);
  const data = client.asyncGet(key);

}

Dependents (1)

Package Sidebar

Install

npm i @webtanzhi/redis

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

3.61 kB

Total Files

5

Last publish

Collaborators

  • waanhappy