Answers for "npm process env"

1

.env

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

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

process.env.production

export NODE_ENV=production

# Or if you are in windows you could try this:

SET NODE_ENV=production
Posted by: Guest on April-20-2021

Browse Popular Code Answers by Language