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

    Interface ResolveDotenvTargetOptions

    Options for resolveDotenvTarget.

    interface ResolveDotenvTargetOptions {
        defaultEnv?: string;
        dotenvToken?: string;
        env?: string;
        fs: DotenvFs;
        paths: string[];
        privacy: DotenvTargetPrivacy;
        privateToken?: string;
        scope: DotenvTargetScope;
        searchOrder?: DotenvPathSearchOrder;
        sharedEnvTemplateToken?: string;
        templateExtension?: string;
    }

    Hierarchy (View Summary)

    Index
    defaultEnv?: string

    Default environment name used when env is not provided.

    dotenvToken?: string

    Base dotenv filename token. Defaults to '.env'.

    env?: string

    Selected environment name (used when scope is 'env').

    Filesystem port used for existence checks.

    paths: string[]

    Search paths (directories) to locate the target dotenv file.

    Privacy axis (public vs private).

    privateToken?: string

    Private token used for private dotenv files. Defaults to 'local'.

    Scope axis (global vs env-specific).

    searchOrder?: DotenvPathSearchOrder

    Path search order. Defaults to 'reverse' (last path wins).

    sharedEnvTemplateToken?: string

    Env name token substituted in place of the real env name when building the shared env template filename (scope: 'env' only). For example, with the default token 'env', the shared template for .env.<env>.local is .env.env.local.template, and for .env.<env> it is .env.env.template.

    The shared env template is the last tier: it is used only when neither the env-scoped target nor its env-specific template (<target>.<templateExtension>) exists in any path. An env-specific template in any path beats a shared template in any path. This option has no effect for scope: 'global'.

    'env'

    templateExtension?: string

    Template extension used for bootstrap discovery. Defaults to 'template'.