A high-performance fetch implementation for React Native using Nitro Modules, providing native-level networking capabilities with support for streaming, cancellation, and progress events. Version 1.3.3 is current as of late 2025. It is actively maintained by the Margelo team, with a release cadence of approximately every 2-3 months. Key differentiators include direct integration with Nitro Modules for synchronous native calls, worklets for background processing, and full TypeScript support.
npm install react-native-nitro-fetchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage of NitroFetch to make a GET request with authorization header, timeout, and error handling.
Update react-native-nitro-modules to >=0.35.2.
Update react-native-worklets to >=0.8.0.
Replace NitroFetch.get(...) with new NitroFetch().request(...).
Set timeoutMs in the request options to abort after a period.
Ensure react-native-nitro-modules is correctly installed and linked. Run npx pod-install on iOS.
Use import { NitroFetch } from 'react-native-nitro-fetch'.Install react-native-worklets: npm install react-native-worklets
Import NitroFetchResponse explicitly: import { NitroFetchResponse } from 'react-native-nitro-fetch'.