env-scan
v0.0.4
Published
Automatically detect and manage environment variables in your codebase
Maintainers
Readme
env-scan
A CLI tool that automatically detects environment variables used in your codebase and manages your .env file.
- 🔍 Scans your codebase
- ✨ Creates a
.envfile if it doesn't exist - 🔄 Updates
.envwith newly detected environment variables - 📋 Preserves existing environment variable values
- 🚫 Avoids duplicates by only adding new variables
Installation
Global Installation
npm install -g env-scanProject Installation
npm install --save-dev env-scanUsage
Command Line
Simply run:
npx env-scanOr,
env-scanOr if installed locally:
npx env-scan