@miniflare/kv
TypeScript icon, indicating that this package has built-in type declarations

2.14.2 • Public • Published

@miniflare/kv

Workers KV module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers. See 📦 KV for more details.

Example

import { KVNamespace } from "@miniflare/kv";
import { MemoryStorage } from "@miniflare/storage-memory";

const ns = new KVNamespace(new MemoryStorage());
await ns.put("key", "value");
console.log(await ns.get("key")); // value

/@miniflare/kv/

    Package Sidebar

    Install

    npm i @miniflare/kv

    Weekly Downloads

    105,497

    Version

    2.14.2

    License

    MIT

    Unpacked Size

    21.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • wrangler-publisher