env-exampler is a script that generates a .env.example file based on the current .env, removing the values.
Run npx env-exampler
in the directory with your .env file.
We recommend husky to generate the git hooks.
npm install husky -D
npm set-script prepare "husky install"
npm run prepare
npx husky add .husky/pre-commit "npx env-exampler"
git add .husky/pre-commit