dotenv npm file code example Example: dotenv npm //In CMD npm i dotenv //in JS file require('dotenv').config();