npm rate-limiter-flexible 2.0.0
Redis Lua script + deprecated things removed

latest releases: 3.0.0, 2.4.2, 2.4.1...
3 years ago


  • Redis uses Lua script for expiring atomic increments. It allowed to remove a hack, which made extra queries to Redis, when TTL is not set on key set.
  • RateLimiterCluster options type fixed.


  • isWhite and isBlack getters/setters and options support removed from RLWrapperBlackAndWhite. isWhiteListed and isBlackListed options should be used instead.
  • IRateLimiterResOptions interface type removed from lib/index.d.ts. IRateLimiterRes should be used.

Don't miss a new rate-limiter-flexible release

NewReleases is sending notifications on new releases.