Answers for "use dotenv common js"

-1

how to use dotenv in javascript

#in you cmd type this command

npm i dotenv

#and then require it in you javascript using :
require("dotenv").config()
Posted by: Guest on March-05-2021
1

what is dotenv in nodejs

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

Browse Popular Code Answers by Language