Cloudflare KV Adapter

Stores Payload key-value data in a Cloudflare KV namespace

Community 0 10/wk MIT v1.0.0

Installation

pnpm add @zapal/payload-kv-cloudflare

About

Cloudflare KV Adapter gives Payload a Cloudflare Workers KV namespace as its key-value store. Payload uses this store for internal key-value data, and values are saved as JSON and read back as parsed objects. Every key gets a prefix, so Payload data can share a namespace with other values in the same Cloudflare account.

It suits projects deployed on Cloudflare, where the KV namespace is already bound to the running Worker. The adapter needs that binding at startup. It accepts bindings from Cloudflare's framework adapters or from Wrangler during local development.

Package info

Package name
@zapal/payload-kv-cloudflare
Latest version
1.0.0
Unpacked size
12 kB
License
MIT
Weekly downloads
10
Last publish
Apr 18, 2026

More from zapal-tech

View profile

Svelte component that adds a Payload admin toolbar to your front-end pages

Svelte 5 live preview bindings that update a page as editors change a Payload document

Renders Payload Lexical rich text content as React JSX with custom elements

Generates BlurHash image placeholders automatically for uploads in chosen collections

Similar adapters

More in Cache

Stores Payload key-value data in Redis through the payload.kv API

Stores Payload key-value data in Upstash Redis with key prefixes and expiry rules