Floodgate is a rate limiting library specifically built for Next.js applications, offering a zero dependency solution for protecting APIs with declarative, type-safe, and flexible rate limiting rules. It supports multiple algorithms (fixed window, sliding window, token bucket), pluggable storage backends (memory, Redis, Vercel KV), and features out-of-the-box integration for both server and client (React) components, making it suitable for developers who need robust and customizable rate limiting in modern serverless or edge environments.
Visit Floodgate's official website for product details and getting started.
Comprehensive API reference and usage examples for Floodgate.
Sample projects and real-world examples demonstrating how to implement Floodgate in Next.js applications.