Varlock

Enhanced .env files.

Visit website ↗

Profile updated

Console’s review

· Reviewed by David Mytton

What we like

Use decorator comments to create .env config schemas. Allows for validation and type safety. Implement function calls e.g. to load a secret from 1Password. Redacts values in stdout and console methods. Supports different environments. Drop-in replacement for dotenv.

Tradeoffs

Only has native integrations for Node and Next.js (doesn’t support Turbopack yet), but there is a binary CLI to run and inject values into the environment.

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects Console’s assessment at publication on 2025-07-17. Features and limitations may have changed since the review date. Read our selection criteria and learn about Console.

Discover your next favorite tool

Independent devtool reviews and the latest betas, in your inbox every Thursday. Free.