Rate limiter using lazy bucket algorithm https://github.com/hvr/token-bucket
See all snapshots token-bucket appears in
This package provides a variant of a Token Bucket
or Leaky Bucket rate-limiting algorithm optimised for low overhead.
The rate-limiting variant implemented by this package is heavily inspired by the algorithm described in
"Rate Limiting at Webscale: Lazy Leaky Buckets".