rate_generate_middleware
Generate rate limiting middleware for Express, Fastify, Koa, Hono, or NestJS. Set configurable time windows and request limits to protect APIs from abuse.
Instructions
Generate rate limiting middleware for Express, Fastify, or Koa with configurable windows
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_by | No | Rate limit key strategy | |
| api_key | No | API key for authentication | |
| framework | Yes | Web framework | |
| window_ms | Yes | Rate limit window in milliseconds | |
| max_requests | Yes | Maximum requests per window |