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

    Interface LoadOptions

    interface LoadOptions {
        cache?: boolean;
        dotenv?: boolean;
        dotenvDir?: string;
        dotenvEnv?: string | null;
        dotenvFiles?: string[];
        dotenvOverride?: boolean;
        env?: Record<string, string>;
        importSchemes?: Record<string, Function>;
        modules?: Record<string, unknown> | Map<string, unknown>;
        path?: string;
        resolvers?: Record<string, Function> | Map<string, Function>;
        root?: string;
        tags?: Record<string, Function> | Map<string, Function>;
        watchEnv?: boolean;
    }
    Index
    cache?: boolean

    cooper: use cooper's file cache (default true)

    dotenv?: boolean

    cooper: load .env files (default true)

    dotenvDir?: string

    cooper: where .env files are read from (default: the project root, the nearest package.json above process.cwd())

    dotenvEnv?: string | null

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

    dotenvFiles?: string[]

    cooper: replaces the default .env file list

    dotenvOverride?: boolean

    cooper: let .env files outrank process.env

    env?: Record<string, string>

    cooper: an override layer for ${...}, on top of process.env and .env files

    importSchemes?: Record<string, Function>

    cooper: one loader per import "scheme://..."; synchronous

    modules?: Record<string, unknown> | Map<string, unknown>

    cooper: what each !module("Name") -- and each cooper-secrets module name -- means

    path?: string

    the CASC file; a relative one against the project root (default config/config.casc)

    resolvers?: Record<string, Function> | Map<string, Function>

    cooper: one function per !{name:...}; synchronous, since load() is

    root?: string

    the project root (default: the directory of the nearest package.json above process.cwd(), else process.cwd())

    tags?: Record<string, Function> | Map<string, Function>

    cooper: one function per !name(...); synchronous

    watchEnv?: boolean

    cooper: let the cache poll the environment names the load read