neondb
Version:
create a claimable Neon database in seconds!
7 lines (5 loc) • 436 B
TypeScript
declare function getSqlCommands(path: string): string[];
declare function getDotEnvContent(dotEnvFile: string): Record<string, string>;
declare function prepEnv(dotEnvFile: string, dotEnvKey: string): void;
declare function writeToEnv(dotEnvFile: string, dotEnvKey: string, claimExpiresAt: Date, claimUrl: URL, connString: string, poolerString: string): Promise<void>;
export { getDotEnvContent, getSqlCommands, prepEnv, writeToEnv };