Allows you to manage proxy settings according to your os.
Currently supported:
- Linux
- Gnome
- Windows
npm i proxy-settings-manager
const proxy = require('proxy-settings-manager');
const proxyUrl = 'http://locahost:5050';
await proxy.setHttp(proxyUrl);
await proxy.setHttps(proxyUrl);
Depending on your platform you may need to logout before changes take place
Set the http proxy url to use.
Set the https proxy url to use.
Remove the currently defined http and https proxies.