On this page
Overview
Upstash Redis JS is a TypeScript Redis client built on the Upstash REST API. It executes Redis commands over HTTP instead of requiring a persistent TCP connection, targeting connectionless environments such as Next.js, serverless functions, and Cloudflare Workers.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Execute Redis operations through a connectionless HTTP client
@upstash/redis connects with a URL and token and exposes Redis operations for strings, sorted sets, lists, hashes, sets, and other supported commands from TypeScript or JavaScript.
Sources: [1]
Version 1.39.0 adds array commands, Stream search indexes, and vector-index APIs
The 1.39.0 release adds array commands across clients, pipelines, and transactions, supports Search indexes over Redis Streams, and adds vector-index APIs backed by the new VECTOR.* commands.
Sources: [2]
Best fit
Fits shared caches, counters, and short-lived state in Next.js and edge/serverless applications
It is useful where keeping a long-lived TCP Redis connection is awkward. The README explicitly lists Next.js, AWS Lambda, Cloudflare Workers, Fastly Compute@Edge, WebAssembly, and similar HTTP-oriented environments.
Sources: [1]
Before adoption
It targets the Upstash REST API rather than acting as a generic TCP Redis client
The client expects an Upstash Redis REST URL and token. Confirm that the Redis APIs required by the application are supported by the Upstash REST API, and manage the URL and token as application secrets.
Sources: [1]
Decide whether anonymous telemetry is acceptable for the deployment
The README states that the library reports anonymous SDK version, platform, runtime version, and retry-count telemetry. It can be disabled with UPSTASH_DISABLE_TELEMETRY or enableTelemetry: false.
Sources: [1]
Official sources
- [1]Upstash Redis JS README(2026-10-06)
- [2]@upstash/redis 1.39.0 release(2026-10-06)
Supplemental curator note
It fits Next.js and edge/serverless workloads where persistent TCP Redis connections are awkward. Review REST API compatibility, secret handling for the URL/token, and telemetry policy before adoption.
Try it in 3 steps
- 1
Get the source
git clone --depth 1 https://github.com/upstash/redis-js.git - 2
Enter the repository
cd redis-js - 3
Check the official steps
Continue with the commands in the README Installation, Quick Start, or Getting Started section.
find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Growth
Growth trends · Last 30 days
975 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 4
- Open PRs
- 10
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- upstash
- serverless
- redis
- upstash-sdk
- Stars
- 975
- Forks
- 98
- Watchers
- 9
- Open issues
- 9
- Contributors
- 31
- Owner type
- Organization
- Primary language
- TypeScript
- License
- MIT
- Repository last updated
- Oct 1, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Upstash Rate Limit2,049 Stars
5 shared tag(s) · 1 shared category(s) · Same language
add HTTP-based distributed rate limiting to serverless, edge, and Next.js APIs
TypeScript - Ky17,104 Stars
4 shared tag(s) · 1 shared category(s) · Same language
extend Fetch API with concise retries, timeouts, hooks, and JSON handling
TypeScript - ioredis15,344 Stars
4 shared tag(s) · 1 shared category(s) · Same language
use Redis Cluster, Sentinel, pipelines, and more from a full-featured Node.js client
TypeScript - ofetch5,360 Stars
4 shared tag(s) · 1 shared category(s) · Same language
add JSON parsing, retries, timeouts, and interceptors to fetch across Node, browsers, and workers
TypeScript - SWR32,490 Stars
3 shared tag(s) · 1 shared category(s) · Same language
cache remote React data and manage revalidation, deduplication, and updates through hooks
TypeScript - Ajv14,852 Stars
3 shared tag(s) · 1 shared category(s) · Same language
compile JSON Schema or JTD contracts into fast runtime validators for API and configuration data
TypeScript
Report incorrect information
Tell us if any listing information is incorrect or outdated.