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
9 lines (8 loc) • 371 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = void 0;
var fs_1 = require("fs");
var main_1 = require("./main");
var parse_1 = require("./parse");
Object.defineProperty(exports, "parse", { enumerable: true, get: function () { return parse_1.parse; } });
(0, main_1.main)(process.env, process.argv, fs_1.readFileSync, false);