Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

node dotenv

const config = require('dotenv-config')();
 
console.log(config.test); // localhost
 
module.exports = config;
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #node #dotenv
ADD COMMENT
Topic
Name
9+8 =