#Varlock โ€“ #dotenv files built for sharing, powered by @ env-spec decorator comments #opensource #devtools #nodejs #ai

๐Ÿ” Adds declarative schema to your .env files using JSDoc-style @ env-spec comments โ€“ validation, type safety & IntelliSense included

๐Ÿ›ก๏ธ Protects sensitive config values with log redaction & leak prevention built right into the workflow

๐ŸŒ Flexible multi-environment management: automatically loads .https://env.xxx files based on your APP_ENV flag

๐Ÿงต ๐Ÿ‘‡

๐Ÿ’ซ Supports value composition, functions & loading secrets from external sources like 1Password via exec()

๐Ÿ”ง Install via npx, #Homebrew, cURL or #Docker โ€“ integrates with #NextJS, #Vite and more via dedicated packages

๐Ÿ“‹ .env.schema lives in version control alongside your code โ€“ always in sync, never out of date

๐Ÿงฉ #VSCode extension available with full IntelliSense, plus an #MCP server for AI-assisted config management

๐Ÿ“Š Supports type coercion, enum validation, URL/port types, string pattern checks & required/optional inference
https://github.com/dmno-dev/varlock