Answers for "how to use dotenv in node js in windows"

6

node dotenv

require('dotenv').config();

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

what is dotenv in nodejs

this module is used to access environment variable in our application
Posted by: Guest on January-07-2022

Python Answers by Framework

Browse Popular Code Answers by Language