KV for Google Cloud, backed by Cloud Storage
Full generated docs are available at gkv.hacksaw.software
# via npm
npm install @hacksaw/gkv
pnpm add @hacksaw/gkv
yarn add @hacksaw/gkv
# via jsr
npx jsr add @hacksaw/gkv
pnpm dlx jsr add @hacksaw/gkv
yarn dlx jsr add @hacksaw/gkv
deno add jsr:@hacksaw/gkvimport { Storage } from '@google-cloud/storage';
import { GKV } from '@hacksaw/gkv';
const bucket = "my-bucket"
const storage = new Storage();
const kv = new GKV<string, string>({ bucket, storage })
await kv.set('my-key', 'some value')
const value = await kv.get("my-key")
console.log(value) // 'some value'Checkout examples in the /examples directory