import the config from env file in node-env-file code example
Example 1: .env
require('dotenv').config()
Example 2: .env
require('dotenv').config()
const dotenv=require('dotenv');
//Usuage
process.env.NAME
require('dotenv').config()
require('dotenv').config()
const dotenv=require('dotenv');
//Usuage
process.env.NAME