how to read environment variable in node js

JavaScript
var myEnvVariable = process.env.ENV_VARIABLE_NAME
Source

Also in JavaScript: