I'm trying to use node.io (web scraping module) through a proxy. I know it has untested support for proxies built in, bu开发者_如何学Got I cannot get it to work. Does anyone know how to get it working?
Thanks,
You have to configure npm to make node to use a proxy server;
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080'
精彩评论