json-env
Loads json file into process.env
Getting started
npm install json-env
Require as soon as possible. This used sync to open the file to be sure that nothing runs until this is done.
;
You can load a specific file or overwrite env variables with another require
'myconfig.json'; ; // loads .env.json by default'.env.overwrite.json'; // overwrites keys already in process.env