express-brutewall
v1.1.1
Published
a easy to use rate limiter for express apps
Downloads
1
Maintainers
Readme
Brutewall
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
License
MIT © Nico Nößler