Lightlines
By upstash

redis-js

upstash1.4k installs

Use Redis in your serverless JavaScript apps.

What it does

Guides implementation of Redis-backed JavaScript and TypeScript features with the Upstash SDK.

When to use it

Use when implementing caching, session storage, rate limiting, leaderboards, full-text search, or Redis data structures.

How to use it

It changes how the agent implements Redis operations in project code, including credential handling, serialization, expiration, and batching.

What you provide

  • An existing project

Uses

Latest review

What you need · 3

The guide concerns the @upstash/redis SDK and provides its npm installation command.

Running the examples requires a Redis endpoint configured with a REST URL and token.

Reads the Redis REST token from the environment alongside UPSTASH_REDIS_REST_URL to initialize the client.


Access · 0

No additional actions listed.