Load your development environmental variables for a project


The idea for this module is to load enviromental variables for development.

You can refer to the examples folder for an example on typical usage below is an example

  // Inside your project file 
  // This will load a file called .env.json  
  // This will load a file called /variables/.env.json 
  require('dev-vars')().load({ path: '/variables' });
  // If for some reason you need to reset your enviromental variables you can use this 
  var dev_vars = require('dev-vars')();

I created this because I wanted something that could do one task Load enviromental variables from a file and I did not see a 'simple' alternative.