OSS TanbouSign in with GitHub

connect to Redis over HTTP/REST from Next.js, edge, and serverless runtimes

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
975
Primary language
TypeScript
License
MIT
Repository last updated
Oct 1, 2026
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. [1]Upstash Redis JS README(2026-10-06)
  2. [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. 1

    Get the source

    git clone --depth 1 https://github.com/upstash/redis-js.git
  2. 2

    Enter the repository

    cd redis-js
  3. 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
Check the official README

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

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
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?