envvarguard
v1.0.0
Published
CLI to validate .env files against JSON schema. Free console, Pro PDF/auto-fix.
Downloads
82
Maintainers
Readme
EnvVarGuard
CLI to validate .env files against JSON schema.
Install
npm i -g envvarguard
Usage
envvarguard schema.json [.env]
Schema example schema.json:
{
\"DB_PORT\": {
\"type\": \"number\",
\"required\": true,
\"minimum\": 1024,
\"maximum\": 65535
},
\"API_SECRET\": {
\"type\": \"secret\",
\"required\": true
},
\"DEBUG\": {
\"type\": \"boolean\",
\"enum\": [\"true\", \"false\"]
}
}PRO ($29 one-time)
--pdf report.pdf --license YOUR_KEY (Future: PDF reports, auto-fix suggestions)
Buy: gumroad.com/l/envvarguard (stub)
