Answers for "env for node js"

8

node dotenv

require('dotenv').config();

console.log(process.env.MY_ENV_VAR);
Posted by: Guest on October-07-2020
2

.env

npm install dotenv
Posted by: Guest on June-06-2020

Browse Popular Code Answers by Language