UNPKG

node-env-type

Version:
18 lines (17 loc) 406 B
/** * Refreshes all flags from `NODE_ENV` variable. * * @param otherVariable * Optional override, to use an alternative variable. */ declare function refresh(otherVariable?: string): boolean; export declare const env: { refresh: typeof refresh; isDev: boolean; isUAT: boolean; isSIT: boolean; isCI: boolean; isTest: boolean; isProd: boolean; }; export {};