@takkar/validate-env
v1.1.2
Published
Validate your env files
Readme
validate-env
CLI tool to validate your env files.

Installation
yarn add @takkar/validate-env -devUsage
- Now create a sample env file with keys your think should be available in your env files. For eg.
config/.env.sample.
name
age
city
countryNow, validate-env will validate your env file against these keys. Let's say we wanna validate .env.development.
- Run the command.
validate-env --sample config/.env.sample --env .env.developmentAPI
validate-env [options]
Options:
--sample Sample env file with keys you think should be available in all env files.
--env A env file to check