env-exampler
v1.0.8
Published
Remove values from .env for a .env.example file!
Downloads
6
Readme
env-exampler
env-exampler is a script that generates a .env.example file based on the current .env, removing the values.
Usage
Run npx env-exampler
in the directory with your .env file.
Git hook
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