redis-bucket
JSON →A Redis-backed leaky-bucket rate limiter (v2.0.0) that uses EVAL/EVALSHA-based Lua scripts for atomic operations, enabling shared rate-limiting across distributed instances without Redis modules. Supports tiered capacity and rate metrics with configurable backoff. Actively maintained with TypeScript types included. Compared to alternatives like express-rate-limit (in-memory), it provides centralized state; compared to ratelimiter (Redis-based with custom modules), it works on hosted Redis without module support.
Resources
packageredis-bucket ↗