bknd
Version:
Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.
16 lines (15 loc) • 690 B
TypeScript
export declare function isBun(): boolean;
export declare function getRootPath(): string;
export declare function getDistPath(): string;
export declare function getRelativeDistPath(): string;
export declare function getVersion(_path?: string): Promise<any>;
export declare function fileExists(filePath: string): Promise<boolean>;
export declare function writeFile(filePath: string, content: string): Promise<boolean>;
export declare function exec(command: string, opts?: {
silent?: boolean;
env?: Record<string, string>;
}): string | undefined;
export declare function execAsync(command: string, opts?: {
silent?: boolean;
env?: Record<string, string>;
}): Promise<unknown>;