Dot Env Gen is a lightweight VS Code extension that automatically scans your JavaScript/TypeScript codebase and extracts all process.env.VARIABLE usages to generate a ready-to-use .env file.
✨ Features
🔍 Scans all .js and .ts files in your workspace
⚡ Generates a .env file with all detected environment variable keys
🧠 Smartly ignores node_modules, build, and other common folders
💼 Perfect for cloning GitHub projects and setting up local environments
🪄 One-click command: Extract ENV Variables
📦 Use Case
Ever cloned a project from GitHub and had to guess which .env variables are needed?
Dot Env Gen solves that in one click — just run the command and get a .env file with all the required keys extracted from process.env statements.