2.0.0 • Published 3 months ago
@sesamecare-oss/rate-limit v2.0.0
@sesamecare-oss/rate-limit
A simple wrapper around node-rate-limiter-flexible that manages multiple instances of a rate limiter (for multiple keys on which to rate limit a single request, such as ip and username). @sesamecare-oss/rate-limit provides type sugar and some simpler centralized call mechanics.
See tests/index.spec.ts for sample usage.