Modern, asynchronous and production-ready Express.js rate limiter middleware.
express-rate-limiter-ts is a powerful, flexible, and type-safe rate limiting solution for Node.js/Express projects. It can be easily used in both development and production environments. Fully compatible with popular databases like Redis, MongoDB, and Postgres.
- Asynchronous and production-ready store support (Redis, MongoDB, Postgres, Memory, Dummy)
- Route-based and user-based dynamic limits
- Whitelist, blacklist, ban, and custom response support
- Advanced rate limit headers (X-RateLimit-, RateLimit-)
- Live statistics and ban management with admin panel (works with all stores)
- Full TypeScript support and type safety
- Comprehensive tests and documentation
➡️ For all setup and usage guides, please see the full documentation at: Documentation
- Fork and work on your own branch.
- Test your changes.
- Submit a pull request.
For detailed contribution guidelines, see:
This project is licensed under the MIT License. See the full license at: LICENSE
For any suggestions, contributions, or bug reports, please open an issue on GitHub!