Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node dotenv

require('dotenv').config();

console.log(process.env.MY_ENV_VAR);
 
PREVIOUS NEXT
Tagged: #node #dotenv
ADD COMMENT
Topic
Name
5+7 =