Proxy Support
Closed this issue · 6 comments
I added proxy support with changing lib/resource.js:243 according to http://stackoverflow.com/questions/3862813/how-can-i-use-an-http-proxy-with-node-js-http-client. If you are behind corporate proxy, you must use proxy client support. Can you add this functionality?
Yes, could you send a patch if you already have it working? This will probably need to be a configurable option.
@zeldal have you sent your patch to lib/resource.js yet? I'm interested in proxy support as well.
I tried implementing using the code in suggested article but my JS skills are not up to scratch. Although I got the request out I was not able to return the retrieved object, so the 'npm install' command always returned not-found.
Can someone with a better understanding of npm_lazy please take a look - this is the last blocking issue for me to use npm_lazy in my organisation.
Thanks, Simon.
Check the pull request.
Fixed a bunch of minor issues with the PR, added configurability via the config file, updated docs, published as v1.5.0
. Could you all give this a try and report back whether it works for you, since I'm not actively using a proxy?