$ npm install get-proxy
Get configured proxy
const getProxy = require('get-proxy'); getProxy(); //=> 'http://192.168.0.1:8080'
MIT © Kevin Mårtensson