env-exampler
v1.0.8
Published
Remove values from .env for a .env.example file!
Downloads
16
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 -Dnpm set-script prepare "husky install"npm run preparenpx husky add .husky/pre-commit "npx env-exampler"git add .husky/pre-commit
