Is there a way to read environment variables in Node.js code?
Like for example Python's os.environ['HOME'].
Answer
process.env.ENV_VARIABLE
Where ENV_VARIABLE is the name of the variable you wish to access.
See Node.js docs for process.env.
Is there a way to read environment variables in Node.js code?
Like for example Python's os.environ['HOME'].
Answer
process.env.ENV_VARIABLE
Where ENV_VARIABLE is the name of the variable you wish to access.
See Node.js docs for process.env.
In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...
No comments:
Post a Comment