r/statichosting • • May 15 '26

CLI tool to catch env variable issues before they break deployment [self promotion]

Hey everyone,

Have you ever deployed and realized your env variables is out of sync with what your app actually expects? Because I definitely have.

So I built dotenv-diff — a CLI tool that scans your environment variables and catches what's missing, undocumented, or shouldn't be there.

It also has first-class support for SvelteKit, respecting the rules around public/private and static/dynamic variables.

npm: https://www.npmjs.com/package/dotenv-diff

github: https://github.com/Chrilleweb/dotenv-diff

0 Upvotes

0 comments sorted by