@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
29 lines (26 loc) • 657 B
TypeScript
import { Script, UserConfig } from '../types/index.js';
import '@clack/prompts';
declare const context: {
entries: string[];
env: Record<string, string>;
before: Record<string, string>;
after: Record<string, string>;
run: string | string[];
parsed: Record<string, string>;
parsedFiles: string[];
write: boolean;
dts: boolean | string;
depth: boolean;
script: Script | undefined;
userConfig: UserConfig;
files: string[];
scope: string | undefined;
sources: {
env: string;
files: {
path: string;
scope?: string;
}[];
}[];
};
export { context };