alpha release

update v0.8.0
This commit is contained in:
2026-03-17 22:49:38 -04:00
commit 63a91931da
157 changed files with 10951 additions and 0 deletions

17
src/lib/userDB.ts Normal file
View File

@@ -0,0 +1,17 @@
import simpleDB from './simpleDB.js';
export interface UserDB {
get: (key?: string) => string;
getObject: () => Record<string, string>;
remove: (key?: string) => void;
set: (key?: string, value?: string) => string;
}
/**
*
* @param directory
* @returns
*/
export default function userDB(directory: string) {
return simpleDB('user', directory) as Promise<UserDB>;
}