# async-redis-mock

> Async Redis client mock object for unit testing

Latest version **2.0.1** (published 2022-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install async-redis-mock
pnpm add async-redis-mock
yarn add async-redis-mock
bun add async-redis-mock
```

## 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 | 2.0.1 |
| Published | 2022-04-06 |
| First published | 2020-06-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | VergeSense Engineering |
| Maintainers | fcwheat, willhalto |
| Keywords | async, redis, mock, test, async-redis, redis-mock |

## Links

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

## Dependencies (3)

- [rewire](https://npm.io/package/rewire.md) ^5.0.0
- [redis-mock](https://npm.io/package/redis-mock.md) ^0.56.3
- [async-redis](https://npm.io/package/async-redis.md) ^2.0.0

## 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

- 2.0.1 (latest) — 2022-04-06
- 2.0.0 — 2021-09-29
- 1.0.1 — 2021-04-15
- 1.0.0 — 2020-06-15
- 0.1.0 — 2020-06-15

## README

async-redis-mock
============

# Background
Inspired by [redis-mock](https://www.npmjs.com/package/redis-mock) and [async-redis](https://www.npmjs.com/package/async-redis) this repo aims to provide a feature complete mock of `async-redis` which may be used interchangeably when writing unit tests for code that depends on `async-redis`.

All operations are performed in-memory, so no Redis installation is required.

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