OptionalcacheOptionaldotenvload .env files (default true); see Dotenv
Optionaldotenvthe directory .env files are read from, and the base of a relative dotenvFiles entry (default: the project root, the nearest package.json above process.cwd())
Optionaldotenvthe <env> in .env.<env> (default COOPER_ENV)
Optionaldotenvreplaces the default .env file list
Optionaldotenvlet .env files outrank process.env (default false)
Optionalenvan override layer for ${...}, on top of process.env and .env files (not a replacement for them)
OptionalfileloadString only: the path the source came from, for private-variable scoping and import-cycle detection
Optionalimportone loader per import "scheme://..."
Optionalmoduleswhat each !module("Name") means (CASC.md §7.5), by the name exactly as written; a name it does not hold is a load error
Optionalresolversone function per !{name:...}
Optionalrootdirectory a bare import resolves against; loadFile uses the file's own directory, loadString process.cwd()
Optionaltagsone function per !Name(...) beyond the built-ins (a same-named entry replaces a built-in)
OptionalwatchloadFile only: poll the environment names this load read for changes (default: whether it read any)
loadFileonly: use the cache (defaulttrue)