{"library":"native-fetch","type":"library","category":null,"description":"A polyfill-aware module that returns the native fetch/Request/Headers API if available in the runtime, otherwise falls back to the undici module. Version 4.0.2 is the current stable release; the package has frequent updates aligned with undici releases. Key differentiator: unlike node-fetch, it uses WHATWG streams for type compatibility and provides a seamless way to write isomorphic code without heavy-handed bundler overrides. Ships TypeScript types. Requires undici as a peer dependency.","language":"javascript","status":"active","version":"4.0.2","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install native-fetch","imports":["import { fetch } from 'native-fetch'","import { Request } from 'native-fetch'","import { Headers } from 'native-fetch'"]},{"cmd":"yarn add native-fetch","imports":[]},{"cmd":"pnpm add native-fetch","imports":[]}],"homepage":"https://github.com/achingbrain/native-fetch#readme","github":"https://github.com/achingbrain/native-fetch","docs":null,"changelog":null,"pypi":null,"npm":"native-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}