0.0.1 • Published 4 years ago
@newengen/checkenv v0.0.1
CheckENV
A simple script for checking environment files against each other for missing or unset params.
Usage
npm install @newengen/checkenv
To check your root level .env file against a base environment file, set baseEnvPath
and run the script
`baseEnvPath=./configs/fakeconfig.env ./node_modules/@newengen/checkenv/lib/index.js"
To check a different config file other then root level .env file, set toCheckEnvPath
and run the script
- `baseEnvPath=./configs/fakeconfig.env toCheckEnvPath=./configs/matchingconfig.env ./node_modules/@newengen/checkenv/lib/index.js"
If configs match, the terminal will output nothing. If there are missing or unset params the terminal will output what they are and their values.