Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Varlock

.env files with a schema: safe for agents, secrets kept from them.

Dev workflow and config npm MIT

Used in agent projects
13
0.3% of 4,818 JS/TS repos built with AI coding agents
Gid Score
47 /100
#1774 of 3,794 tools, #133 in dev workflow and config · ranking
In the catalog because
Public numbers
downloads and GitHub stars, added Oct 13, 2026; too rare in our project count to rank by use
Downloads
223K
npm, last 7 days, varlock
GitHub stars
4,798
133 forks · last push Oct 19, 2026

How Varlock is used

Varlock joined the catalog on its public numbers (223,412 downloads a week on npm and 4,798 GitHub stars), not on our project count: it is a dependency in 13 public GitHub projects of our scan, 13 of them set up for AI coding agents. The most used alternative in our scan is dotenv (966 projects). Projects that use it most often also use tsx (61.5%), Better Auth (53.8%), Zod (69.2%).

Varlock popularity over time

Top tools by Gid Score

Varlock: downloads per weeknpm, varlock 223,412
Varlock: GitHub starsdmno-dev/varlock 4,798

Gid Score 47: downloads 50, use in agent projects 21, GitHub stars 38, downloads trend 100 (each 0-100). How it is calculated.

Often used with Varlock

tsx61.5% of Varlock projects · 4.1× more than average
Better Auth53.8% of Varlock projects · 32.5× more than average
Zod69.2% of Varlock projects · 2.8× more than average
TypeScript100.0% of Varlock projects · 1.8× more than average
Biome38.5% of Varlock projects · 6.8× more than average
lint-staged38.5% of Varlock projects · 4.9× more than average
Husky38.5% of Varlock projects · 3.8× more than average
Ultracite30.8% of Varlock projects · 28.5× more than average

By coding agent

Cursor0.4% of projects set up for it
Claude Code0.2% of projects set up for it
OpenAI Codex1.3% of projects set up for it

Share of public repos configured for each agent that list Varlock as a dependency.

Install

Packagenpm install varlock
Main stacksTypeScript / JavaScript (11), Next.js (2)

Alternatives to Varlock

All dev workflow and config

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Varlock are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
dotenv npm
Load environment variables from .env files into process.env.
84 966 (20.0%) 112M 20.6K BSD-2-Clause

More in Dev workflow and config: Husky python-dotenv lint-staged concurrently Rich Pydantic Settings cross-env chalk

Is Varlock right for your project? Ask AgentGid →