1.0.8 • Published 3 years ago
env-exampler v1.0.8
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