Basic rate-limiting middleware for the Express web server
RateLimit
header from the RateLimit header fields for HTTP standardization draft adopted by the IETF. Enable by setting standardHeaders: 'draft-7'
standardHeaders: 'draft-6'
option, treated equivalent to standardHeaders: true
from previous releases. (true
and false
are still supported.)RateLimit-Policy
header added when standardHeaders
is set to 'draft-6'
, 'draft-7'
, or true
draft_polli_ratelimit_headers
optiononLimitReached
optiontotalHits
value returned from Store is invalidValidationError
, directing users to the appropriate wiki page for more infoYou can view the full changelog here.
(Backport of v6.8.1)
You can view the full changelog here.
validate: false
in
the configuration. Automatically disables after the first request. (See
#358)You can view the changelog here.
No functional changes.
express-rate-limit
organization on GitHub.readme.md
for project sponsor Zuplo.typescript
version 5 and bumped other dependencies.node
12, and added node
19 to the list of versions the CI jobs run on.You can view the changelog here.