/node-env-manager

.env toolkit. View differences with .env.dist, import new variables from .env.dist, fast change values from defined environments

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

node-env-manager

Node.js script file, only 19Kb.

Allows to

  • View differences between .env and .env.dist files
  • Autoimport items from .env.dist not present in .env
  • Set multiple environments with differents values for your variables, and switch from CLI.

Configuration:

  • Open the js file
  • Set the envFolder absolute path
  • This path must have both .env and .env.dist files
  • Optional: Configure environments for switch values from cli.

How to use:

  • In your terminal run: node envManager.js and navigate with the menu typing the number options.

image