ratelimit-primitives
MITRate limiting algorithms as pure functions — GCRA, token bucket, sliding window, fixed window. JSON-serializable state, no clock reads, no I/O, no dependencies. Runs in Cloudflare Workers, Durable Objects, Deno, browsers and Node.
100
Security score
0 known advisories in v1.1.0
Weekly downloads
—
Unpacked size
72.5 kB
Dependencies
0
Last publish
10 days ago
Security advisories
No known vulnerabilities affect v1.1.0.