{"library":"node-fetch-native","type":"library","category":null,"description":"node-fetch-native is a lightweight package designed to provide a consistent `fetch` API across various JavaScript runtimes, primarily targeting Node.js. It intelligently prefers Node.js's experimental native `fetch` (backed by `undici`) when available, falls back to an internal `node-fetch v3` implementation for older Node.js versions, and offers comprehensive HTTP/HTTPS proxy support, which is not natively available in Node.js's built-in `fetch` implementation. Currently stable at version `1.6.7`, the package maintains a steady release cadence, often addressing dependency updates and minor bug fixes. A key differentiator is its ability to bridge the `CommonJS` (`require`) and `ESM` (`import`) divide for `fetch`, resolving common migration issues encountered with `node-fetch` v3. It also provides a polyfill mechanism to ensure global `fetch` availability.","language":"javascript","status":"active","version":"1.6.7","tags":["javascript","typescript"],"install":[{"cmd":"npm install node-fetch-native","imports":["import fetch from 'node-fetch-native';","const fetch = require('node-fetch-native');","import { fetch, Headers, Request, Response } from 'node-fetch-native';","import fetch from 'node-fetch-native/node';","import 'node-fetch-native/polyfill';"]},{"cmd":"yarn add node-fetch-native","imports":[]},{"cmd":"pnpm add node-fetch-native","imports":[]}],"homepage":null,"github":"https://github.com/unjs/node-fetch-native","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-fetch-native","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/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}