Skip to content
Back to skills

upstash-ratelimit-ts

ASecurity

Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.

  • 2,044 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
devopstypescriptgoapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add upstash/ratelimit-js --skill skills --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of upstash-ratelimit-ts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for upstash-ratelimit-ts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/upstash-upstash-ratelimit-ts/badge)](https://www.skillsdirectory.com/skills/upstash-upstash-ratelimit-ts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: upstash-ratelimit-ts
description: Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.
---

# Rate Limit TS SDK

## Quick Start
- Install the SDK and connect to Redis.
- Create a rate limiter and apply it to incoming operations.

Example:
```ts
import { Ratelimit } from "@upstash/ratelimit";
import { Redis } from "@upstash/redis";

const redis = new Redis({ url: "<url>", token: "<token>" });
const limiter = new Ratelimit({ redis, limiter: Ratelimit.slidingWindow(5, "10s") });

const { success } = await limiter.limit("user-id");
if (!success) {
  // throttled
}
```

## Other Skill Files
- **algorithms.md**: Describes all available rate‑limiting algorithms and how they behave.
- **pricing-cost.md**: Explains pricing, Redis cost implications, and operational considerations.
- **features.md**: Lists SDK features such as prefixes, custom keys, and behavioral options.
- **methods-getting-started.md**: Full method reference for the SDK's API and getting started guide.
- **traffic-protection.md**: Guidance on applying rate limiting for traffic shaping, abuse prevention, and protection patterns.

Files in this skill

  • SKILL.md1.2 KB
  • algorithms.md2.7 KB
  • features.md3.1 KB
  • methods-getting-started.md1.9 KB
  • pricing-cost.md4.6 KB
  • traffic-protection.md2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.