{"library":"react-cosmos-fetch-proxy","type":"library","category":null,"description":"A fixture proxy for React Cosmos that enables mocking of fetch API responses during component development and testing. Version 4.8.2 is the latest stable release, part of the react-cosmos-classic line (pre-5.x). This proxy allows developers to define mock fetch responses declaratively in fixtures, avoiding the need for a separate mock server or service worker. It integrates seamlessly with React Cosmos’s fixture system, supporting dynamic responses based on request properties. Lightweight and focused, it differs from more general mocking libraries like MSW by being purpose-built for Cosmos’s fixture-driven workflow. No release cadence information is available.","language":"javascript","status":"active","version":"4.8.2","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-cosmos-fetch-proxy","imports":["import FetchProxy from 'react-cosmos-fetch-proxy'","import { FetchProxy } from 'react-cosmos-fetch-proxy'","import { mockFetch } from 'react-cosmos-fetch-proxy'"]},{"cmd":"yarn add react-cosmos-fetch-proxy","imports":[]},{"cmd":"pnpm add react-cosmos-fetch-proxy","imports":[]}],"homepage":"https://github.com/react-cosmos/react-cosmos-classic/tree/master/packages/react-cosmos-fetch-proxy","github":"https://github.com/react-cosmos/react-cosmos-classic/tree/master/packages/react-cosmos-fetch-proxy","docs":null,"changelog":null,"pypi":null,"npm":"react-cosmos-fetch-proxy","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}