Answers for ".env files"

1

.env

require('dotenv').config()
const dotenv=require('dotenv');

//Usuage
process.env.NAME
Posted by: Guest on August-06-2020
2

.env

npm install dotenv
Posted by: Guest on June-06-2020
7

.env file example

SOMEVAR="somevalue"
ANOTHERVAR="anothervalue"
Posted by: Guest on March-22-2021

Browse Popular Code Answers by Language