smart-env-helper
v1.0.1
Published
Type-safe .env validator and generator for Node.js and MERN stack projects
Maintainers
Readme
🚀 smart-env-helper
A TypeScript-safe .env manager that validates, generates, and syncs environment variables across your Node.js or MERN stack projects.
✨ Features
- Validate
.envkeys based on a schema - Generate type-safe
env.tsfile automatically - Sync
.env.examplewith.env - Easy CLI interface
🧠 Commands
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
