Skip to main content

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:

If you find missing info or want to contribute docs, open a PR in this repository.