@stimulcross/rate-limiter
v0.0.8
Published
A collection of client-side rate limiters for Node.js and browsers.
Readme
Rate Limiters
A collection of rate limiters designed primarily for outbound request throttling.
They are suited for client-side usage to respect third-party limits or protect internal resources.
While it is technically possible to use these limiters for server-side traffic backed by a distributed store like Redis, it is not recommended. The algorithms evaluate state within the application process, so distributed usage requires multiple network operations per request introducing significant round-trip latency.
Installation
npm
npm add @stimulcross/rate-limiterpnpm
pnpm add @stimulcross/rate-limiteryarn
yarn add @stimulcross/rate-limiter