Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node dotenv

const config = require('dotenv-config')();
 
console.log(config.test); // localhost
 
module.exports = config;
 
PREVIOUS NEXT
Tagged: #node #dotenv
ADD COMMENT
Topic
Name
5+4 =