react-native-fetch-mock

JSON →
library 1.0.0 ·javascript
verified Jun 7, 2026

A fetch mock library for React Native, v1.0.0. Allows developers to define mock responses for API endpoints using patterns and Mock.js integration. Supports delayed responses, proxy to real servers, fallback to network, and exclusion of certain paths. Useful for testing and development without a backend. Alternatives like fetch-mock exist, but this is tailored for React Native's fetch implementation and offers inline mocking via a mock directory with flexible configuration. No recent updates; considered stable for its feature set.