node.js - How to get user's environment variables in nodejs? -


how read environment variables of specific user in windows nodejs? tried using process.env seems return system variables.

there no such distinction of user's vs. system environment variables. can access of environment variables set for process accessing process.env. if missing there means there no such environment variable set. if need more environment variables being set either set them before starting node program or change user's config set automatically.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -