@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
7 lines (5 loc) • 393 B
TypeScript
declare function parseCommandString(command: string): string[];
declare function replaceLiteralQuantity(input: string, parsed: any): string;
declare function readfiles(root: string, file: string, depth?: boolean): string[];
declare function readfile(root: string, file: string, depth?: boolean): string | undefined;
export { parseCommandString, readfile, readfiles, replaceLiteralQuantity };