how to read variable from .env in node code example Example: how to read environment variable in node js var myEnvVariable = process.env.ENV_VARIABLE_NAME