Skip to content

Commit 8549b45

Browse files
committed
chore(@commandkit/redis): release 0.1.0
1 parent 0e0dfae commit 8549b45

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

packages/redis/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# `@commandkit/redis`
2+
3+
Redis cache provider for CommandKit.
4+
5+
## Installation
6+
7+
```sh
8+
npm install @commandkit/redis
9+
```
10+
11+
## Usage
12+
13+
```js
14+
import { CommandKit } from 'commandkit';
15+
import { RedisCache } from '@commandkit/redis';
16+
17+
new CommandKit({
18+
client,
19+
commandsPath,
20+
eventsPath,
21+
// uses default redis connection options (ioredis package)
22+
cacheProvider: new RedisCache(),
23+
});
24+
```

0 commit comments

Comments
 (0)