upstash-ratelimit-js
Rate limiting for serverless and edge apps with the @upstash/ratelimit TypeScript/JavaScript SDK backed by Upstash Redis. Use when adding a rate limiter or throttling to an API route, Next.js middleware, Vercel Edge, Cloudflare Workers, or any HTTP endpoint; returning 429 Too Many Requests; choosing between fixed window, sliding window, and token bucket algorithms; limiting per user, IP, API key, or tenant with prefixes and custom keys; protecting login, signup, form, or AI endpoints from abuse, bots, and brute force; using deny lists, ephemeral caching, analytics, timeouts, and multi-region rate limits; or estimating the Redis command cost of rate limiting. Also use when the user says rate limit, rate-limiting, throttle, quota, request limits, or traffic protection.
- License
- MIT
Pinned to revision fa9b6bb0c7e4, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/upstash-ratelimit-js/SKILL.md
- skills/upstash-ratelimit-js/algorithms.md
- skills/upstash-ratelimit-js/features.md
- skills/upstash-ratelimit-js/methods-getting-started.md
- skills/upstash-ratelimit-js/pricing-cost.md
- skills/upstash-ratelimit-js/traffic-protection.md
Every link opens the file at its source, pinned to the revision this page describes.