|
11 | 11 |
|
12 | 12 | node-redis is a modern, high performance [Redis](https://redis.io) client for Node.js.
|
13 | 13 |
|
| 14 | +## Installation |
| 15 | + |
| 16 | +Start a redis-server via docker (or any other method you prefer): |
| 17 | + |
| 18 | +```bash |
| 19 | +docker run -p 6379:6379 -it redis/redis-stack-server:latest |
| 20 | +``` |
| 21 | + |
| 22 | +To install node-redis, simply: |
| 23 | + |
| 24 | +```bash |
| 25 | +npm install redis |
| 26 | +``` |
| 27 | + |
| 28 | +> "redis" is the "whole in one" package that includes all the other packages. If you only need a subset of the commands, you can install the individual packages. See the list below. |
| 29 | +
|
14 | 30 | ## Packages
|
15 | 31 |
|
16 |
| -| Name | Description | |
17 |
| -|----------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
18 |
| -| [redis](./packages/redis) | [](https://www.npmjs.com/package/redis) [](https://www.npmjs.com/package/redis) | |
19 |
| -| [@redis/client](./packages/client) | [](https://www.npmjs.com/package/@redis/client) [](https://www.npmjs.com/package/@redis/client) [](https://redis.js.org/documentation/client/) | |
20 |
| -| [@redis/bloom](./packages/bloom) | [](https://www.npmjs.com/package/@redis/bloom) [](https://www.npmjs.com/package/@redis/bloom) [](https://redis.js.org/documentation/bloom/) [Redis Bloom](https://oss.redis.com/redisbloom/) commands | |
21 |
| -| [@redis/graph](./packages/graph) | [](https://www.npmjs.com/package/@redis/graph) [](https://www.npmjs.com/package/@redis/graph) [](https://redis.js.org/documentation/graph/) [Redis Graph](https://oss.redis.com/redisgraph/) commands | |
22 |
| -| [@redis/json](./packages/json) | [](https://www.npmjs.com/package/@redis/json) [](https://www.npmjs.com/package/@redis/json) [](https://redis.js.org/documentation/json/) [Redis JSON](https://oss.redis.com/redisjson/) commands | |
23 |
| -| [@redis/search](./packages/search) | [](https://www.npmjs.com/package/@redis/search) [](https://www.npmjs.com/package/@redis/search) [](https://redis.js.org/documentation/search/) [RediSearch](https://oss.redis.com/redisearch/) commands | |
24 |
| -| [@redis/time-series](./packages/time-series) | [](https://www.npmjs.com/package/@redis/time-series) [](https://www.npmjs.com/package/@redis/time-series) [](https://redis.js.org/documentation/time-series/) [Redis Time-Series](https://oss.redis.com/redistimeseries/) commands | |
| 32 | +| Name | Description | |
| 33 | +|------------------------------------------------|---------------------------------------------------------------------------------------------| |
| 34 | +| [`redis`](./packages/redis) | The client with all the ["redis-stack"](https://github.com/redis-stack/redis-stack) modules | |
| 35 | +| [`@redis/client`](./packages/client) | The base clients (i.e `RedisClient`, `RedisCluster`, etc.) | |
| 36 | +| [`@redis/bloom`](./packages/bloom) | [Redis Bloom](https://redis.io/docs/data-types/probabilistic/) commands | |
| 37 | +| [`redis/graph`](./packages/graph) | [Redis Graph](https://redis.io/docs/data-types/probabilistic/) commands | |
| 38 | +| [`@redis/json`](./packages/json) | [Redis JSON](https://redis.io/docs/data-types/json/) commands | |
| 39 | +| [`@redis/search`](./packages/search) | [RediSearch](https://redis.io/docs/interact/search-and-query/) commands | |
| 40 | +| [`@redis/time-series`](./packages/time-series) | [Redis Time-Series](https://redis.io/docs/data-types/timeseries/) commands | |
| 41 | + |
| 42 | +> Looking for a high-level library to handle object mapping? See [redis-om-node](https://github.com/redis/redis-om-node)! |
25 | 43 |
|
26 | 44 | ## Contributing
|
27 | 45 |
|
|
0 commit comments