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.jsonrequire'dev-vars'load;// This will load a file called /variables/.env.jsonrequire'dev-vars'load path: '/variables' ;// If for some reason you need to reset your enviromental variables you can use thisvar dev_vars = require'dev-vars';dev_varsreset;
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.