UNPKG

@hairy/lnv

Version:

Loading environment variables in Next.js and other frameworks can be quite cumbersome, and using dotenv or vault at runtime is also inconvenient. That's why my created this tool

13 lines (10 loc) 660 B
import { DotenvConfigOutput } from 'dotenv'; declare function parseUserConfig(): Promise<void>; declare function executionScript(): Promise<void>; declare function authEnvironment(): Promise<void>; declare function readEnvironment(): Promise<void>; declare function loadEnvironment(): Promise<void>; declare function mergeParseEnvironment(): void; declare function parse(env: string, filepath: string, scope?: string): DotenvConfigOutput | undefined; declare function dokey(root: string, scope?: string): string | undefined; export { authEnvironment, dokey, executionScript, loadEnvironment, mergeParseEnvironment, parse, parseUserConfig, readEnvironment };