envfix catches .env drift before deployment
envfix is a zero-dependency Node.js CLI that diagnoses missing, empty, duplicate, extra, and malformed environment variables. It can safely repair `.env` files, synchronize examples, and enforce configuration checks in CI.
envfix focuses on an unglamorous but persistent source of developer friction: configuration drift. Its append-only fixes and secret-masking defaults make it a pragmatic addition to Node.js projects.
- –`doctor` combines syntax, consistency, and Git-safety checks in one command
- –`--all` validates multiple environment pairs across development, test, and production
- –GitHub Actions annotations turn configuration failures into visible CI diagnostics
- –Zero dependencies and `npx` support keep adoption nearly frictionless
- –It complements schema-based validators by checking file-level consistency rather than runtime types
DISCOVERED
5h ago
2026-08-17
PUBLISHED
11h ago
2026-08-17
RELEVANCE
AUTHOR
Gokhan Ozgezer