How to get the current System Proxy in Node JS?
问题 I am making a node application and already know how i can implement a Proxy if required, im not sure how i actually check the current system proxy settings. From what i read its supposed to be in process.env.http_proxy but thats undefined after setting a proxy in my windows proxy settings. How does one get the current Proxy settings in NodeJS? 回答1: You can use get-proxy-settings package from NPM. It is capable of: Retrieving the settings from the internet settings on Windows in the registry I