UNPKG

arg-env

Version:

Node.js package to work with `.env` files in the same way as docker and docker-compose via `--env-file` or `"env_file"` in package.json

8 lines (7 loc) 278 B
/// <reference types="node" /> export { fromArgs, fromPackageEnv }; declare function fromArgs<T extends boolean>(argv: typeof process["argv"], deleteThem: T): string[]; /** * @todo Consider calculation as in compose.yml */ declare function fromPackageEnv(env: Env): string[];