

This article shows how to get started with the recommended libraries: node-redis and ioredis. We generally suggest using node-redis, as it has wide support for Redis modules, is easily extended, and is widely used.Ĭheck out a list of Redis clients that the community has built for Node here.

If youre just using npm install redis, you dont need to do anythingitll upgrade automatically.

Packages In version 4.1.0 we moved our subpackages from node-redis to redis. If you're just using npm install redis, you don't need to do anythingit'll upgrade automatically. node-redis is a modern, high performance Redis client for Node.js. Redis has two primary Node clients which are node-redis and ioredis. node-redis is a modern, high performance Redis client for Node.js. By pairing Node and Redis together you can achieve a scalable and productive development platform. Both Redis and Node share similar type conventions and threading models, which makes for a very predictable development experience. Redis is a great database for use with Node. Redis cache delivers sub-millisecond response times, enabling fast and powerful real-time applications in industries such as gaming, fintech, ad-tech, social media, healthcare, and IoT. Redis is an open source, in-memory, key-value data store most commonly used as a primary database, cache, message broker, and queue. To save your time, the directory /server/src has already been created for you. Simon Prickett, Principal Developer Advocate at Redisįind tutorials, examples and technical articles that will help you to develop with Redis and Node.js/JavaScript: Introduction Node.js is a runtime environment that allows software developers to launch both the frontend and backend of web apps using JavaScript.
