1.0.4 • Published 11 months ago

env-gen v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

env-gen

.env file generator by extracting all environment variables referenced in node js project through process.env.*

usage

$ cd <node app path to scan>
$ npx env-gen

Optional

Silent mode

Append --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 --silent

Path exclusion

Place 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
};
1.0.4

11 months ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago