koajs / ratelimit

Rate limiter middleware
MIT License
485 stars 57 forks source link

whitelist #1

Closed tj closed 5 years ago

tj commented 10 years ago

support

lararosekelley commented 7 years ago

has any progress been made on this?

mattbailey commented 6 years ago

I'd love to see this as something built in, but since ctx is passed to the id function, you could conditionally send back a random id (e.g. from uuid) for certain routes or IPs. I'm about to have to implement this myself.

tuananh commented 5 years ago

i open a pr here to add whitelist opts

https://github.com/koajs/ratelimit/pull/44