Redis storage adapter for express-throttle rate-limiting middleware for Express. Current version 0.0.4, released as an early-stage package with no recent updates. Provides a Redis-backed store for throttling rate limits across distributed Node.js servers. Unlike default in-memory stores, it allows shared state across multiple processes or machines via Redis. However, it does not implement key expiration, so memory grows unbounded; requires manual Redis configuration with LRU eviction. Alternative: use express-rate-limit with rate-limit-redis, which has more active maintenance and built-in key expiry.
npm install express-throttle-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up an Express app with Redis-backed rate limiting using express-throttle and express-throttle-redis.
Configure Redis with maxmemory and maxmemory-policy allkeys-lru, or use a rate-limiting library with TTL support.
Switch to express-rate-limit with rate-limit-redis for active maintenance and features.
Use redis@2.x, or adapt by wrapping ioredis in a compatible interface.
Use const RedisStore = require('express-throttle-redis');Ensure redis client is configured for cluster mode (e.g., require('redis').createCluster).Pass new RedisStore(client) as the store option.