Atomic counters and rate limiting tools. Limit resource access at any scale.
ISC License
Bot releases are hidden (Show)
Published by animir almost 5 years ago
set
method implemented for all limiters.RateLimiterRes
constructor types is fixed. Thanks @raelcunIRateLimiterResOptions
is deprecated in favour of IRateLimiterRes
interface.RLWrapperBlackAndWhite
options isWhite
and isBlack
are deprecated. Use isBlackListed
and isWhiteListed
instead.Published by animir almost 5 years ago
duration
is 0 or block
method called with 0 duration, key is never expiring. Note: if you want to start using never expiring keys with already created MySQL or Postgres limiters, make sure database table is re-created or alter db table to allow expire
column to be NULL.IRateLimiterResOptions
interface. Thank you Eladio Mora.rateLimiterInstance.get()
. Thanks @ephemer.ExpressBruteFlexible
reset works with ignoreIP option.ExpressBruteFlexible
prefix
option for keys.Published by animir about 5 years ago
Published by animir over 5 years ago
Features:
Bug-fixes:
Published by animir over 5 years ago
Features:
Published by animir over 5 years ago
Features:
consume(key, points, {customDuration: 1})
to dynamically change a duration of a current call for a key fixed by global duration
Bug fixes:
block
method durationPublished by animir over 5 years ago
Features:
indexKeyPrefix
option now.keyPrefix
option.tableName
option.Bug fixes:
Published by animir over 5 years ago
Published by animir almost 6 years ago
Published by animir almost 6 years ago
Published by animir almost 6 years ago
Published by animir almost 6 years ago
Published by animir over 6 years ago
Published by animir over 6 years ago
Published by animir over 6 years ago
Redis, Mongo, Postgres and MySQL limiters support storeClient
option
Published by animir over 6 years ago
Postgres limiter stores expire
as milliseconds in bigint column type now.
Previously created database tables have to dropped or data imported from old table to new by any convenient way.
Published by animir over 6 years ago
Published by animir over 6 years ago
Published by animir over 6 years ago
Published by animir over 6 years ago