@halospv3/hce.shared-config
Version:
Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.
15 lines • 602 B
TypeScript
import { type DotenvConfigOptions } from "dotenv";
/**
* Load a .env file from the CWD with the given options (or defaults), returns the new value of process.env
* @param dotenvOptions
* @param overrides
* @returns
*/
export declare function getEnv(dotenvOptions?: DotenvConfigOptions, overrides?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
/**
* Get the value from the given env var. If undefined, load .env from CWD and try again or return undefined.
* @param envVar
* @returns
*/
export declare function getEnvVarValue(envVar: string): string | undefined;
//# sourceMappingURL=envUtils.d.ts.map