Lightlines
Catalogue
Sign in
By upstash

upstash-ratelimit-js

upstash

Keep abusive traffic from reaching your endpoints.

traffic protection

What it does

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.

How to use it

Give it a project requiring request limits; it adds an Upstash-backed limiter and applies it to incoming operations.

What you provide

  • An existing project

Uses


Access · 3

This skill

Upstash Redis

Write

Stores rate limit state

GitHub's ipsum repository

Read

Reads abuse-list updates

@upstash/ratelimit

Execute

Installs the SDK

What you need · 4

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.


About this skill

Visibility
Public
Repository
upstash/skills
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
6