Skip to content

envdrift v0.1.0

Latest

Choose a tag to compare

@jszzr jszzr released this 15 Mar 00:58
· 3 commits to main since this release

envdrift is a tiny CLI that catches configuration drift between source env usage and .env.example.

Problem it solves

In many projects, env drift causes late failures:

  • code introduces a new env key but .env.example is not updated
  • stale keys remain in .env.example after refactors
  • breakage appears during onboarding, CI, or runtime

What envdrift does

  • detects keys used in source but missing in .env.example
  • detects stale keys in .env.example that are no longer used
  • supports --strict for CI fail-fast

Quick start

npx envdrift . --strict

If envdrift misses your env access pattern, open an issue with a minimal snippet and I will prioritize support.