Dotenv-Mustache
Dotenv-Mustache integrates the lovely Mustache templating language into dotenv. This would allow for the creation of dynamic environment variables.
Install
npm install dotenv --savenpm install dotenv-mustache --save
Usage
At the entry point of your application, you should require dotenv and dotenv-mustache, and call it into you code as follows.
var dotenv = var dotMustache = var myEnv = dotenv
See test/.env for examples of mustache expressions in environment variables.