(runtime: Pick<FsReadDeps, "read_file">, path: string): Promise<Record<string, string> | null> Load and parse an env file.
runtime
runtime with read_file capability
type
Pick<FsReadDeps, "read_file">path
path to env file
type
stringreturns
Promise<Record<string, string> | null> parsed env record, or null if file doesn't exist