{"library":"react-native-fetch-polyfill","type":"library","category":null,"description":"A polyfill for React Native's fetch that adds timeout support. Currently at version 1.1.3 (stable, low release cadence). It patches the default fetch implementation from whatwg-fetch to expose the native XMLHttpRequest timeout property, which is otherwise inaccessible. Unlike alternatives like react-native-fetch-api or custom wrappers, this polyfill directly modifies the global fetch, providing seamless integration. Requires react-native >=0.27.","language":"javascript","status":"maintenance","version":"1.1.3","tags":["javascript","ReactNative","fetch","timeout"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-native-fetch-polyfill","imports":["import fetch from 'react-native-fetch-polyfill';","import fetch from 'react-native-fetch-polyfill';\n// Will polyfill global fetch automatically if used before other fetch calls.","import fetch from 'react-native-fetch-polyfill';\n// No types provided; you may need to declare module or use @types/react-native-fetch-polyfill if available."]},{"cmd":"yarn add react-native-fetch-polyfill","imports":[]},{"cmd":"pnpm add react-native-fetch-polyfill","imports":[]}],"homepage":"https://github.com/robinpowered/react-native-fetch-polyfill#readme","github":"https://github.com/robinpowered/react-native-fetch-polyfill","docs":null,"changelog":null,"pypi":null,"npm":"react-native-fetch-polyfill","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}