Sliding Window Rate Limiter

JSON →
library 6.0.1 ·javascript
verified Jun 7, 2026

A sliding window rate limiter supporting Redis >= 3.2 backend or in-memory backend. Current stable version 6.0.1 requires Node >= 16 and ES6. Provides check, reserve, and cancel operations with automatic cleanup. Key differentiators: supports both Redis and in-memory backends, includes safe mode with automatic reconnection, and uses a sliding window algorithm rather than fixed window. Actively maintained with frequent releases.