Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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()
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #dotenv #javascript
ADD COMMENT
Topic
Name
2+4 =