mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
f7d824c07c59cd0ac7c03e21d143cf35eebd452d
* CAE-193: add "IGNORE" options to time series commands (for v5 branch) * add INCR/DECR and modify tests to not test ignore on older version * require maxTimeDiff/maxValDiff to be specified also rename them * fix add/ignore test after api change * update tests for api change in IGNORE option
Node-Redis
node-redis is a modern, high performance Redis client for Node.js.
How do I Redis?
Learn for free at Redis University
Build faster with the Redis Launchpad
Installation
Start a redis-server via docker (or any other method you prefer):
docker run -p 6379:6379 -it redis/redis-stack-server:latest
To install node-redis, simply:
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 |
The client with all the "redis-stack" modules |
@redis/client |
The base clients (i.e RedisClient , RedisCluster , etc.) |
@redis/bloom |
Redis Bloom commands |
@redis/graph |
Redis Graph commands |
@redis/json |
Redis JSON commands |
@redis/search |
RediSearch commands |
@redis/time-series |
Redis Time-Series commands |
Looking for a high-level library to handle object mapping? See redis-om-node!
Contributing
If you'd like to contribute, check out the contributing guide.
Thank you to all the people who already contributed to Node Redis!
License
This repository is licensed under the "MIT" license. See LICENSE.
Languages
TypeScript
92.8%
JavaScript
7.2%