{"library":"node-fetch-with-proxy","title":"node-fetch-with-proxy","description":"Thin wrapper around node-fetch that transparently uses HTTP_PROXY/HTTPS_PROXY environment variables for proxy support. Version 0.1.6, stable but low update cadence (last update 2019). Key differentiator: drop-in replacement for node-fetch that requires no code changes — just set proxy env vars. Unlike node-fetch's native proxy options, it uses proxy-agent under the hood for comprehensive protocol support (http, https, socks).","language":"javascript","status":"active","last_verified":"Sat May 09","install":{"commands":["npm install node-fetch-with-proxy"],"cli":null},"imports":["import fetch from 'node-fetch-with-proxy'","import fetch from 'node-fetch-with-proxy'","import { Headers } from 'node-fetch'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import fetch from 'node-fetch-with-proxy';\nprocess.env.HTTP_PROXY = process.env.HTTP_PROXY || 'http://proxy.example.com:8080';\n\nasync function main() {\n  try {\n    const res = await fetch('http://httpbin.org/get');\n    const data = await res.json();\n    console.log(data);\n  } catch (err) {\n    console.error('Fetch failed:', err.message);\n  }\n}\nmain();","lang":"javascript","description":"Sets proxy via environment variable and performs a GET request to httpbin.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}