Noisy Pillaging Monster

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

    2.4.0 • 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

    Install

    npm i @miniflare/kv

    DownloadsWeekly Downloads

    19,965

    Version

    2.4.0

    License

    MIT

    Unpacked Size

    20.2 kB

    Total Files

    5

    Last publish

    Collaborators

    • wrangler-publisher
    • mrbbot