loading...

re: Using dotenv to manage environment variables in Nodejs VIEW POST

FULL DISCUSSION
 

How to Access the ENV var in different files in Node.js using dotenv?

 

Hi Kiran You can access ENV variables like process.env.VARIABLE_NAME once you load dotenv in your file.

code of conduct - report abuse