Upstash KV adapter

Integrates Upstash as a key-value storage solution for Payload.

Community 6 10/wk MIT v1.2.10

Installation

pnpm add @rubixstudios/payload-upstash

About

This plugin provides an adapter to use Upstash as key-value storage for Payload CMS. It allows you to store and manage data efficiently using Redis API. The adapter supports custom key prefixes and optional time-to-live (TTL) configurations for data expiration. To integrate the Upstash KV adapter, import it in your Payload configuration file and configure the connection using your Upstash URL and token. You can also specify a key prefix to isolate your data and define TTL settings for different data categories. Access the KV storage easily through `payload.kv` for setting and retrieving data. The adapter offers functions for common operations such as getting, setting, and deleting keys. However, it doesn't support certain Redis commands like `clear()` and `keys()`, which are not available in Upstash Redis. Use this adapter to streamline how you handle key-value data in your Payload projects.

Package info

Package name
@rubixstudios/payload-upstash
Latest version
1.2.10
Unpacked size
10 kB
License
MIT
Weekly downloads
10
Last publish
May 26, 2026

More from rubix-studios-pty-ltd

View profile

Similar plugins

More in Storage