upstash-ratelimit-js

Official

Lightweight rate limiter for TS/JS with Upstash

Authorupstash
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides concise, practical guidance for using the Upstash Redis RateLimit TypeScript/JavaScript SDK, covering setup, basic usage, and pointers to advanced documentation.

Core Features & Use Cases

  • Quick setup examples for common rate-limiting patterns (single-region and multi-region, fixedWindow, slidingWindow, tokenBucket)
  • Guidance on features like dynamic limits, analytics, caches, and deny lists
  • Real-world usage scenarios such as protecting APIs and throttling user actions.

Quick Start

Create a Redis client, instantiate a Ratelimit with a slidingWindow limiter, and call limit to gate a user action.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: upstash-ratelimit-js
Download link: https://github.com/upstash/skills/archive/main.zip#upstash-ratelimit-js

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.