{"library":"react-native-fetch-mock","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","react-native","fetch-mock"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-native-fetch-mock","imports":["import FetchMock from 'react-native-fetch-mock'","global.fetch = new FetchMock(...).fetch","import Mock from 'mockjs'"]},{"cmd":"yarn add react-native-fetch-mock","imports":[]},{"cmd":"pnpm add react-native-fetch-mock","imports":[]}],"homepage":"https://github.com/WhatAKitty/react-native-fetch-mock#readme","github":"https://github.com/WhatAKitty/react-native-fetch-mock","docs":null,"changelog":null,"pypi":null,"npm":"react-native-fetch-mock","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}