# redis-await

> light weight and high performance async nodejs redis client! support await

Latest version **1.0.6** (published 2017-10-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install redis-await
pnpm add redis-await
yarn add redis-await
bun add redis-await
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2017-10-21 |
| First published | 2017-10-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | yaozhengyang |
| Maintainers | freeoasoft |
| Keywords | async, await, redis |

## Links

- npm: https://www.npmjs.com/package/redis-await
- Repository: https://github.com/freeoasoft/redis-await
- Homepage: https://github.com/freeoasoft/redis-await#readme
- Issues: https://github.com/freeoasoft/redis-await/issues
- npm.io page: https://npm.io/package/redis-await

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2017-10-21
- 1.0.5 — 2017-10-20
- 1.0.3 — 2017-10-20
- 1.0.2 — 2017-10-20
- 1.0.1 — 2017-10-19
- 1.0.0 — 2017-10-14

## README

# redis-await
light weight and high performance async nodejs redis client! support await

![](https://www.travis-ci.org/freeoasoft/redis-await.svg?branch=master)

## Installation
`npm install redis-await`

## Usage
    const RedisClient = require('redis-await');

    (async function () {

        let client = new RedisClient(/*{ host: '127.0.0.1', port: 6379, pool: 2 }*/);
        let value;
        
        await client.ready();
        
        value = await client.hset('test', 'key', '123\r\n456');
        value = await client.hget('test', 'key');

        value = await client.hmset('test', { key1: 1, key2: 2 });
        value = await client.hmget('test', 'key1', 'key2');

        value = await client.hgetall('test');

        //use command
        value = await client.command('HGETALL', 'test');

        //direct send redis instruction
        value = await client.send('*2\r\n$7\r\nHGETALL\r\n$4\r\ntest\r\n');

    })();

---
_Source: https://npm.io/package/redis-await · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
