Official documentation on Node's environment variables?

Viewed 13

I know some variable, for example process.env.NPM_CONFIG_PREFIX is the default location for global node modules.
https://app.bountysource.com/issues/99987368-do-not-set-npm_config_prefix

And process.env.NODE_ENV, with no default value, signaling Node it's a production environment.
https://nodejs.dev/en/learn/nodejs-the-difference-between-development-and-production/

Do we have a list on all variables that Node itself inserted? For example official documentation on NPM_CONFIG_PREFIX?

Are they the output of process.config?

0 Answers
Related