Skip to main content
Deno 2 is finally here 🎉️
Learn more

r2d2

Docs CI codecov

Fast, lightweight and simple Redis client library for Deno.

Features

  • The fastest Redis client in Deno. See below and try benchmarking yourself!
  • Supports RESPv2, RESP3, pipelining and pub/sub.
  • Written to be easily understood and debugged.
  • Encourages the use of actual Redis commands without intermediate abstractions.

Usage

Check out the documentation here.

Contributing

Before submitting a pull request, please run:

  1. deno fmt
  2. deno lint
  3. deno task redis:start && deno task test and ensure all tests pass
  4. deno task redis:start && deno task bench and ensure performance hasn’t degraded

Note: Redis must be installed on your local machine. For installation instructions, see here.