forked from pinks/eris
1
0
Fork 0
nyx/app/db.ts

5 lines
129 B
TypeScript

import { KvFs } from "kvfs";
export const db = await Deno.openKv(Deno.env.get("DENO_KV_PATH"));
export const fs = new KvFs(db);