A TypeScript-safe .env manager that validates, generates, and syncs environment variables across your Node.js or MERN stack projects.
- Validate
.envkeys based on a schema - Generate type-safe
env.tsfile automatically - Sync
.env.examplewith.env - Easy CLI interface
npx smart-env-helper init
npx smart-env-helper validate
npx smart-env-helper generate
## Example Usage
import { env } from "./env";
console.log(env.MONGO_URI); // fully typed