get node environment variables code example
Example 1: how to read environment variable in node js
var myEnvVariable = process.env.ENV_VARIABLE_NAME
Example 2: windows how to set process.env variables
set NODE_ENV=production
var myEnvVariable = process.env.ENV_VARIABLE_NAME
set NODE_ENV=production