amit-tech.bsky.social
@amit-tech.bsky.social
Reposted
Just landed support for HTTP_PROXY/HTTPS_PROXY/NO_PROXY for fetch in Node.js

github.com/nodejs/node/...

It's currently behind NODE_USE_ENV_PROXY=1 to avoid stepping on existing solutions.

Support for other http methods is under way though will take a bit more time to avoid..stepping on others😅
http: support HTTP[S]_PROXY environment variables in fetch by joyeecheung · Pull Request #57165 · nodejs/node
When NODE_USE_ENV_PROXY=1 is set, Node.js parses the HTTP_PROXY, HTTPS_PROXY and NO_PROXY environment variables during startup, and tunnels requests over the specified proxy. This currently only af...
github.com
March 21, 2025 at 1:34 AM