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 #21

Closed hxruhime closed 11 months ago

hxruhime commented 11 months ago

add bucketCheck() to get remaining time and tokens

hxruhime commented 11 months ago

accidentally pushed my .idea files, and missing my commit to the lib(?), redoing this in a moment