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

8 lines (5 loc) 370 B
import { Options, Result } from 'nano-spawn'; type Command = 'whoami' | 'logout' | 'status' | 'help' | 'build' | 'login' | 'rotatekey' | 'versions' | 'keys' | 'open'; declare function vault(command: Command, args: any[], options?: Options): Promise<Result>; declare function vault(command: Command, options?: Options): Promise<Result>; export { type Command, vault };