Keep abusive traffic from reaching your endpoints.
traffic protection
Adds rate limiting and traffic protection to serverless, edge, and HTTP endpoints.
When to use it
Use when adding throttling, quotas, request limits, or traffic protection.
Give it a project requiring request limits; it adds an Upstash-backed limiter and applies it to incoming operations.
What you provide
This skill
Upstash Redis
Stores rate limit state
GitHub's ipsum repository
Reads abuse-list updates
@upstash/ratelimit
Installs the SDK
The TypeScript/JavaScript SDK must be installed.
The Redis client package must be available to connect to Redis.
The Redis URL is read from the UPSTASH_URL environment variable.
The Redis token is read from the UPSTASH_TOKEN environment variable.