In node , there is a global variable process that represents the current node process.
There is this process.env.NODE_ENV globally
process.env contains information about the system environment, but NODE_ENV does not exist in process.env.
Usage: let process = process.env.NODE_ENV
View print results