const config = require('dotenv-config')(); console.log(config.test); // localhost module.exports = config;