Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

node dotenv

require('dotenv').config();

console.log(process.env.MY_ENV_VAR);
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #node #dotenv
ADD COMMENT
Topic
Name
4+5 =