© 2026 Hedgehog Software, LLC
cf-bindings-proxy
npx cf-bindings-proxy --kv=MY_KV_NAMESPACE
next dev
import { binding } from "cf-bindings-proxy"; export const runtime = "edge"; export async function GET() { const value = await binding("MY_KV_NAMESPACE").get("test"); console.log(value); // 🔴 I get a null here. Expected "Hello World" return new Response("OK", { status: 200, }); }
$ wrangler kv:key get --binding=MY_KV_NAMESPACE "test" # I get "Hello World"