1.1.1 • Published 6 years ago

express-brutewall v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Brutewall

License: MITBuild Status

Easy to use rate limiter for Express.js Apps with Redis please keep in mind this project is work in progress, its stable as it is but still needs proper errorhandling and testing.

Features

  • Redis as storage service
  • Request limit per timeframe
  • Delay all requests after a given threshold for a given time
  • Limits per IP Address, or any given header field
  • Callbacks on limiting/delaying
  • Custom response code and message for rate limited requests
  • Limit defined HTTP Methods only

Todo

  • more documentation
  • more tests

Install

npm i express-brutewall

Test

export REDIS_URI=*REDIS_URI*
npm run test

Usage

Example

License

MIT © Nico Nößler