validate-env
validate-env copied to clipboard
🚓📋⚠️ A simple node.js utility that type-checks your process.env variables based on a .env.template file.
A CLI interface for the validation would be useful for integrating with CI. Something like ``` $ validateEnv path/to/.env path/to/.env.template ```
A synchronous version of the check would simplify the API and allow you to just drop in the function in your index.ts, without messing with the current promise-based implementation. It...
That way you won't have to go run your app multiple times to get all validation errors if there are many.