{"library":"node-fetch-native-with-agent","type":"library","category":null,"description":"node-fetch-native-with-agent is a fork of node-fetch-native that provides a universal `fetch` implementation for Node.js, designed for compatibility across various Node.js versions and environments. It intelligently prefers the native `fetch` global (backed by Undici) when available in newer Node.js versions and falls back to a bundled `node-fetch v3` implementation for older versions, all while supporting both CommonJS (`require`) and ESM (`import`). Its key differentiator is the compact size, zero direct dependencies for the core, and robust built-in proxy support via custom agents, which is a common challenge with native `fetch` in Node.js. The current stable version is 1.7.2, with minor fixes released as needed, indicating an active maintenance cadence. It also includes polyfill capabilities to make `fetch` globally available. This package aims to solve the `node-fetch` v2 vs v3 dependency conflicts and the lack of straightforward proxy support with Node.js's native `fetch`.","language":"javascript","status":"active","version":"1.7.2","tags":["javascript","typescript"],"install":[{"cmd":"npm install node-fetch-native-with-agent","imports":["import fetch from 'node-fetch-native-with-agent';","import { fetch, Headers, Request } from 'node-fetch-native-with-agent';","import 'node-fetch-native-with-agent/polyfill';","import fetch from 'node-fetch-native-with-agent/node';"]},{"cmd":"yarn add node-fetch-native-with-agent","imports":[]},{"cmd":"pnpm add node-fetch-native-with-agent","imports":[]}],"homepage":null,"github":"https://github.com/loks0n/node-fetch-native","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-fetch-native-with-agent","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/node-fetch-native-with-agent/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}