Answers for "set dotenv in node"

8

node dotenv

require('dotenv').config();

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

install dotenv node js

npm install dotenv --save
Posted by: Guest on October-19-2020

Browse Popular Code Answers by Language