- What does validation catch?
- Missing values (KEY= with no value), duplicate keys (last-wins in most loaders, which silently shadows), malformed lines (no =), and unmatched quotes.
- Does it support .env schema like dotenv-safe?
- Yes — paste a schema (required keys, one per line) and the validator reports which are missing. Useful for onboarding checks and CI validation.
- Are comments preserved?
- The validator ignores comments entirely. For comment-aware tooling, use a dotenv library in your build step.
- What about variable interpolation (${OTHER_KEY})?
- Detected but not resolved — the validator flags undefined references and reports them. The resolution rules differ per dotenv implementation.