@ish86/envman
v1.0.0
Published
Sync, validate, and document your .env files. Zero dependencies.
Downloads
175
Maintainers
Readme
envman
Sync, validate, and document your .env files. Zero dependencies.
npm install -g @ish86/envmanUsage
envman init Create .env.example from .env (strips values, keeps comments)
envman sync Add missing keys from .env.example to .env
envman validate Check .env has all keys from .env.example
envman docs Generate markdown docs table from .env.exampleinit
Creates a .env.example from your current .env — strips secret values but keeps keys and any inline # comments as documentation.
envman initsync
Adds any keys from .env.example that are missing in .env, with empty values.
envman syncvalidate
Exits with code 1 if any keys in .env.example are missing from .env. Useful in CI pipelines.
envman validatedocs
Prints a markdown table of all environment variables with descriptions.
envman docsWhy
Every project needs .env.example. Nobody keeps it in sync. This automates it — 5 seconds instead of 20 minutes of manual diffing.
