zkat / make-fetch-happen

Get in loser, we're making requests!
Other
384 stars 27 forks source link

SOCKS Proxy support? #60

Open jfahrenkrug opened 6 years ago

jfahrenkrug commented 6 years ago

It's difficult for me to find out whether or not make-fetch-happen (and by extension npm) fully supports SOCKS proxies (esp. 5 and 5h).

socks5h:// would be great, so that DNS requests could be handled on "the other side" of the proxy. This would make the following possible:

I do see SOCKS mentioned here https://github.com/zkat/make-fetch-happen/pull/28/files but I haven't been able to successfully run npm commands through a SOCKS proxy. Any help is appreciated, thanks!