Dev.to
6/19/2026

dotenv loads your .env — it doesn't check it. So I built a typed validator.
Short summary
envward is a zero-dependency tool that validates environment variables against a typed schema before your app starts, catching configuration errors like typos (PORT=8O80) and type mismatches that would otherwise cause cryptic failures downstream. Supports both Node and Python with identical behavior, auto-detects variable types from existing .env files, and integrates seamlessly into prestart hooks or CI pipelines for automated validation. Released open-source on GitHub.
- •Validates .env against typed schema at startup to catch typos and missing values upfront
- •Supports Node and Python with zero dependencies and identical validation behavior
- •Auto-detects variable types and integrates into CI pipelines and prestart hooks
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



