do I need node.js to use dotenv? code example
Example 1: node dotenv
require('dotenv').config();
console.log(process.env.MY_ENV_VAR);
Example 2: install dotenv node js
npm install dotenv --save
require('dotenv').config();
console.log(process.env.MY_ENV_VAR);
npm install dotenv --save