Skip to content

A convenient multi-key rate limiter for Typescript and Redis based on rate-limiter-flexible

Notifications You must be signed in to change notification settings

sesamecare/rate-limit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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.

About

A convenient multi-key rate limiter for Typescript and Redis based on rate-limiter-flexible

Resources

Stars

Watchers

Forks

Packages

No packages published