Skip to main content
Module

x/cloudflare_kv_storage/packer.ts>KVPacker

An implementation of the StorageArea interface using Cloudflare Worker's KV storage as a backing store
Latest
interface KVPacker
import { type KVPacker } from "https://deno.land/x/cloudflare_kv_storage@v0.9.0-pre.6/packer.ts";

Methods

set(
kv: KVNamespace,
key: string,
value: any,
opts?: any,
): Promise<void>
get(
kv: KVNamespace,
key: string,
opts?: any,
): Promise<any>