{"library":"isomorphic-fetch","type":"library","category":null,"description":"Isomorphic-fetch is a JavaScript library that provides the WHATWG Fetch API for both Node.js and browser environments. Its current stable version is 3.0.0. The package operates as a polyfill, meaning it modifies the global scope to add the `fetch` function and related constructs like `Headers`, `Request`, and `Response`. For server-side operations, it leverages `node-fetch`, while for client-side, it's built on GitHub's WHATWG Fetch polyfill. Its release cadence has slowed, with the last major version (v3.0.0) released significantly after previous iterations, suggesting a maintenance rather than active development phase. A key differentiator is its polyfill approach, which automatically makes `fetch` available globally, contrasting with 'ponyfill' alternatives like `fetch-ponyfill` or `cross-fetch` that avoid global pollution. This design choice aims for API consistency but requires users to be aware of global modifications.","language":"javascript","status":"maintenance","version":"3.0.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install isomorphic-fetch","imports":["require('isomorphic-fetch');","const fetch = require('isomorphic-fetch');","const { Headers, Request, Response } = require('isomorphic-fetch');"]},{"cmd":"yarn add isomorphic-fetch","imports":[]},{"cmd":"pnpm add isomorphic-fetch","imports":[]}],"homepage":null,"github":"https://github.com/matthew-andrews/isomorphic-fetch","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/isomorphic-fetch","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/isomorphic-fetch/compatibility"}}