---
title: "Varlock"
description: "Schema-driven environment variable loader that validates values, documents them in .env files and detects secret leakage in builds."
canonical: "https://vibing.inc/library/varlock-vg-0962"
category: "Dev Utilities & Vibe-Coding Tooling"
subcategory: "Type-safe TypeScript"
license: "MIT"
author: "DMNO (@dmno-dev)"
source: "https://github.com/dmno-dev/varlock"
---

# Varlock
Schema-driven environment variable loader that validates values, documents them in .env files and detects secret leakage in builds.
## Facts
- Source: https://github.com/dmno-dev/varlock
- Category: Dev Utilities & Vibe-Coding Tooling / Type-safe TypeScript
- Author: DMNO (@dmno-dev)
- Licence: MIT
- Tags: env, validation, secrets, dx
## Why it's a gem
Treats .env as a typed, documented interface and catches leaked secrets before deploy.
---
Listed in The Vibeary: https://vibing.inc/library/varlock-vg-0962 · JSON: https://vibing.inc/api/public/library/gems/varlock-vg-0962