valeriansaliou / node-fast-ratelimit

:umbrella: Fast and efficient in-memory rate-limit for Node, used to alleviate most common DOS attacks.
https://www.npmjs.com/package/fast-ratelimit
MIT License
107 stars 18 forks source link

add bucketCheck() to get remaining time in bucket and remaining tokens #22

Closed hxruhime closed 1 month ago

hxruhime commented 11 months ago

adds bucketCheck() to the lib, as well as tests and readme

(Ignore my previous PR, for some reason there was a couple weird commit/push issues with some files)

Erveon commented 11 months ago

Would love to see this feature introduced :)