Environment variables without the hassle
Zero-setup environment loader for Node.js applications
# Works with ANY existing Node.js project
npx @href00/envx your-app.js --env=dev
# With auto-reload
npx @href00/envx-nodemon server.js --env=staging
Works with any existing Node.js project instantly. No code modifications required.
Base .env + environment-specific files (.env.dev, .env.staging) with smart merging.
Built-in auto-reload with envx-nodemon for seamless development workflow.
Perfect for old projects that can't be refactored. No require() statements needed.
Other environment tools require you to modify your code and install dependencies in every project. envx is different:
// Requires code modification
require('dotenv').config();
const app = require('./app');
// No code changes needed!
npx @href00/envx app.js --env=dev
Visit our GitHub repository for full documentation, examples, and contributing guidelines.