eris/app/db.ts

5 lines
129 B
TypeScript
Raw Permalink Normal View History

2023-09-24 13:08:35 +00:00
import { KvFs } from "kvfs";
2023-10-18 21:11:25 +00:00
export const db = await Deno.openKv(Deno.env.get("DENO_KV_PATH"));
2023-09-24 13:08:35 +00:00
export const fs = new KvFs(db);