node-cooper - v0.2.0
    Preparing search index...

    Interface DotenvOptions

    interface DotenvOptions {
        dotenv?: boolean;
        dotenvDir?: string;
        dotenvEnv?: string | null;
        dotenvFiles?: string[];
        dotenvOverride?: boolean;
        env?: Record<string, string>;
    }
    Index
    dotenv?: boolean

    load .env files at all (default true)

    dotenvDir?: string

    where the files are read from, and the base of a relative dotenvFiles entry (default projectRoot())

    dotenvEnv?: string | null

    the <env> in .env.<env> (default COOPER_ENV)

    dotenvFiles?: string[]

    replaces the default file list

    dotenvOverride?: boolean

    files outrank process.env (default false)

    env?: Record<string, string>

    final override layer