{"library":"react-native-fetch-event-source","type":"library","category":null,"description":"A library for consuming Server-Sent Events (SSE) in React Native using the Fetch API. Version 1.0.1, adapted from @microsoft/fetch-event-source. Provides full control over request method, headers, body, and retry logic, unlike the native EventSource API. Supports automatic reconnection, page visibility optimization, and is fully compatible with the Event Stream format. Ships TypeScript types. Requires React Native >=0.74.0.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-native-fetch-event-source","imports":["import { fetchEventSource } from 'react-native-fetch-event-source'","import { EventStreamContentType } from 'react-native-fetch-event-source'","import { FetchEventSourceInit } from 'react-native-fetch-event-source'"]},{"cmd":"yarn add react-native-fetch-event-source","imports":[]},{"cmd":"pnpm add react-native-fetch-event-source","imports":[]}],"homepage":"https://github.com/ilovepku/react-native-fetch-event-source#readme","github":"https://github.com/ilovepku/react-native-fetch-event-source","docs":null,"changelog":null,"pypi":null,"npm":"react-native-fetch-event-source","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}