mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
14 lines
356 B
TypeScript
14 lines
356 B
TypeScript
import { readFile, writeFile } from "node:fs/promises";
|
|
|
|
export * from "./node.adapter";
|
|
export * from "./storage";
|
|
export * from "./connection/NodeSqliteConnection";
|
|
|
|
export async function writer(path: string, content: string) {
|
|
await writeFile(path, content);
|
|
}
|
|
|
|
export async function reader(path: string) {
|
|
return await readFile(path, "utf-8");
|
|
}
|