Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to set env variables in js

process.env.VAR1="foo"
process.env.VAR2="bar"

//in your env file this will appear:
//VAR1=foo
//Var2=bar
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #env #variables #js
ADD COMMENT
Topic
Name
7+7 =