@karmaniverous/get-dotenv
    Preparing search index...

    Interface GetDotenvConfig<Vars, Env>

    Typed config shape and builder for authoring JS/TS getdotenv config files.

    Compile-time only; the runtime loader remains schema-driven. The keys are exactly the loader's (see getDotenvConfigSchemaRaw): root operational options such as paths, shell or log belong under rootOptionDefaults.

    interface GetDotenvConfig<Vars extends ProcessEnv, Env extends string = string> {
        dynamic?: DynamicMap<Vars>;
        envVars?: Record<Env, Partial<Vars>>;
        plugins?: Record<string, unknown>;
        requiredKeys?: string[];
        rootOptionDefaults?: Partial<RootOptionsShape>;
        rootOptionVisibility?: Partial<Record<keyof RootOptionsShape, boolean>>;
        schema?: unknown;
        scripts?: ScriptsTable;
        vars?: Vars;
    }

    Type Parameters

    • Vars extends ProcessEnv
    • Env extends string = string
    Index
    dynamic?: DynamicMap<Vars>

    Dynamic variable definitions.

    envVars?: Record<Env, Partial<Vars>>

    Environment-specific variables.

    plugins?: Record<string, unknown>

    Plugin configuration slices.

    requiredKeys?: string[]

    Keys required to be present in the final environment.

    rootOptionDefaults?: Partial<RootOptionsShape>

    Operational root defaults applied by the host (collapsed families; stringly form).

    rootOptionVisibility?: Partial<Record<keyof RootOptionsShape, boolean>>

    Help-time visibility for root flags (false hides).

    schema?: unknown

    Validation schema (e.g. Zod).

    scripts?: ScriptsTable

    Scripts table.

    vars?: Vars

    Global variables.