Skip to content
dk
← All projects

env-proof

Zero-config environment variable validation for Node.js and TypeScript projects.

00 forks0 open issues & PRsMITupdated 1mo ago
developer-toolsenvironment-variablesnodejstypescriptvalidationzero-config
Stars
0
Forks
0
Created
Aug 22, 2026
Last push
Aug 22, 2026
Default branch
main
Contributors
0

README

dsk-dev-ai/env-proof

env-proof

Prove your environment before you run. Validate your app's environment against a typed contract — fail fast in local dev and CI, never leak secrets.

Status: under active development — v1.0.0 coming soon. See SPEC.md for the exact V1 specification.

Quickstart (preview)

// env.contract.ts
export default {
  DATABASE_URL: { required: true, type: 'url' },
  PORT:         { required: true, type: 'number', min: 1, max: 65535 },
  NODE_ENV:     { required: true, type: 'enum', values: ['development', 'test', 'production'] },
} as const;
npx env-proof   # ✓ pass → exit 0 · ✗ fail → every problem listed, exit 1

What it is NOT

  • Not dotenv — it does not load .env files.
  • Not a config framework — one job only: verify the environment satisfies the contract.
  • No secret management, no coercion — values are checked exactly as provided.

MIT © 2026 dsk-dev-ai

Related projects

Turn any codebase into beautiful architecture diagrams — one command, no AI, no server, runs on any laptop. Zero dependencies, pure Python, agent-friendly (Cursor, Claude Code, Codex, OpenCode).

ai-agentsarchitecture-diagramcli
Python1mo ago

177 merged pull requests across 19 repositories · data generated Oct 7, 2026