{"repo":"redis/node-redis","free":true,"listed":false,"github":"https://github.com/redis/node-redis","clone":"git clone https://github.com/redis/node-redis.git","description":"Redis Node.js client","language":"TypeScript","stars":17571,"topics":["redis","nodejs","node-redis","redis-client","redis-cluster"],"license":"MIT","category":"databases-storage","readme_excerpt":"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 Try the Redis Cloud Dive in developer tutorials Join the Redis community Work at Redis Installation Start a redis via docker: To install node-redis, simply: \"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/json Redis JSON commands @redis/search RediSearch commands @redis/time-series Redis Time-Series commands @redis/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! Usage Basic Example The same example in CommonJS (for example node example.js without \"type\": \"module\" in package.json ): The above code connects to localhost on port 6379. To connect to a different host or port, use a connection string in the format redis[s]://[[username][:password]@][host][:port][/db-number] : You can also use discrete parameters, UNIX sockets, and even TLS to connect. D","default_branch":null,"files":null,"tree":[],"storefront":"/r/redis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/redis/node-redis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}