You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-01 16:46:54 +03:00
70 lines
3.7 KiB
Markdown
70 lines
3.7 KiB
Markdown
# Node-Redis
|
|
|
|
[](https://github.com/redis/node-redis/actions/workflows/tests.yml)
|
|
[](https://codecov.io/gh/redis/node-redis)
|
|
[](https://github.com/redis/node-redis/blob/master/LICENSE)
|
|
|
|
[](https://discord.gg/redis)
|
|
[](https://www.twitch.tv/redisinc)
|
|
[](https://www.youtube.com/redisinc)
|
|
[](https://twitter.com/redisinc)
|
|
|
|
node-redis is a modern, high performance [Redis](https://redis.io) client for Node.js.
|
|
|
|
## How do I Redis?
|
|
|
|
[Learn for free at Redis University](https://university.redis.com/)
|
|
|
|
[Build faster with the Redis Launchpad](https://launchpad.redis.com/)
|
|
|
|
[Try the Redis Cloud](https://redis.com/try-free/)
|
|
|
|
[Dive in developer tutorials](https://developer.redis.com/)
|
|
|
|
[Join the Redis community](https://redis.com/community/)
|
|
|
|
[Work at Redis](https://redis.com/company/careers/jobs/)
|
|
|
|
## Installation
|
|
|
|
Start a redis-server via docker (or any other method you prefer):
|
|
|
|
```bash
|
|
docker run -p 6379:6379 -it redis/redis-stack-server:latest
|
|
```
|
|
|
|
To install node-redis, simply:
|
|
|
|
```bash
|
|
npm install redis
|
|
```
|
|
|
|
> "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.
|
|
|
|
## Packages
|
|
|
|
| Name | Description |
|
|
|------------------------------------------------|---------------------------------------------------------------------------------------------|
|
|
| [`redis`](./packages/redis) | The client with all the ["redis-stack"](https://github.com/redis-stack/redis-stack) modules |
|
|
| [`@redis/client`](./packages/client) | The base clients (i.e `RedisClient`, `RedisCluster`, etc.) |
|
|
| [`@redis/bloom`](./packages/bloom) | [Redis Bloom](https://redis.io/docs/data-types/probabilistic/) commands |
|
|
| [`@redis/graph`](./packages/graph) | [Redis Graph](https://redis.io/docs/data-types/probabilistic/) commands |
|
|
| [`@redis/json`](./packages/json) | [Redis JSON](https://redis.io/docs/data-types/json/) commands |
|
|
| [`@redis/search`](./packages/search) | [RediSearch](https://redis.io/docs/interact/search-and-query/) commands |
|
|
| [`@redis/time-series`](./packages/time-series) | [Redis Time-Series](https://redis.io/docs/data-types/timeseries/) commands |
|
|
| [`@redis/entraid`](./packages/entraid) | Secure token-based authentication for Redis clients using Microsoft Entra ID |
|
|
|
|
> Looking for a high-level library to handle object mapping? See [redis-om-node](https://github.com/redis/redis-om-node)!
|
|
|
|
## Contributing
|
|
|
|
If you'd like to contribute, check out the [contributing guide](CONTRIBUTING.md).
|
|
|
|
Thank you to all the people who already contributed to Node Redis!
|
|
|
|
[](https://github.com/redis/node-redis/graphs/contributors)
|
|
|
|
## License
|
|
|
|
This repository is licensed under the "MIT" license. See [LICENSE](LICENSE).
|