mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +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");
|
|
}
|