{"library":"redis-bucket","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","redis","leaky-bucket","rate","limit","capacity","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install redis-bucket","imports":["import { create } from 'redis-bucket';","import * as limiter from 'redis-bucket';","import type { CapacityConfig } from 'redis-bucket';"]},{"cmd":"yarn add redis-bucket","imports":[]},{"cmd":"pnpm add redis-bucket","imports":[]}],"homepage":"https://github.com/plsmphnx/redis-bucket#readme","github":"https://github.com/plsmphnx/redis-bucket","docs":null,"changelog":null,"pypi":null,"npm":"redis-bucket","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}