UNPKG

neondb

Version:

create a claimable Neon database in seconds!

17 lines (14 loc) 592 B
import { InstantNeonParams } from './types.js'; /** * Creates an instant Postgres connection string from Instagres by Neon * if not already set in the specified .env file. * Prompts the user to optionally generate a connection string, * saves it to the .env file, and returns the connection string. */ declare const instantNeon: ({ dotEnvFile, dotEnvKey, referrer, seed, }: InstantNeonParams) => Promise<{ readonly databaseUrl: string; readonly poolerUrl: string; readonly claimUrl: string; readonly claimExpiresAt: Date; }>; export { InstantNeonParams, instantNeon };