kolet119
v1.0.0
Published
A package that simplifies environment variable management and integrates seamlessly with different configurations (development, production, testing) by automatically detecting the environment and loading the appropriate settings.
Downloads
4
Readme
EnvConfig Loader
EnvConfig Loader
is a simple Node.js package that helps manage environment configurations by automatically loading environment-specific .env
files based on the current NODE_ENV setting. This package simplifies the process of managing different configurations for development, production, testing, and more.
Features
- Automatically detects and loads environment-specific
.env
files. - Falls back to a default
.env
file if no environment-specific file is found. - Easy to integrate into any Node.js project.
Installation
Use npm to install EnvConfig Loader
:
npm install envconfig-loader