Introduction
dotenv-gad is an environment variable validation library that brings type safety, schema validation, and runtime checks to Node.js and modern JavaScript applications.
It works with any environment variable source — .env files, platform dashboards (Vercel, Railway, Docker), CI/CD pipelines, or process.env directly. Define a schema once, and dotenv-gad ensures your app always starts with valid, typed configuration.
Use the sidebar to navigate. Below are quick links:
- [Quick Start](Getting Started/usage.md)
- [Installation](Getting Started/installation.mdx)
- Schema Reference
- Error Handling
- Grouping / Namespaces
- Schema Composition
- Encryption
- Vite Plugin
- CLI
If you find missing info or want to contribute docs, open a PR in this repository.