Skip to content

svfoxat/node-express-brutewall

Repository files navigation

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

About

a easy to use rate limiter for express apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published