.env file generator by extracting all environment variables referenced in node js project through process.env.*
$ cd <node app path to scan>
$ npx env-genAppend --silent to the main command npx env-gen to simply scan and generate .env file without prompting any inputs and displaying log traces.
$ npx env-gen --silentPlace env-gen-config.js under the same path from where you are executing npx env-gen to exclude paths from scanning in the below format.
module.exports = {
exclude: ['/node_modules', '/coverage'] //default
};