Skip to content

Haseeb-MernStack/smart-env-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 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 .env keys based on a schema
  • Generate type-safe env.ts file automatically
  • Sync .env.example with .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

About

Effortless .env Management for Modern MERN & TypeScript Projects.

Resources

Stars

Watchers

Forks

Packages

No packages published