{"library":"fetch-mock-cache","type":"library","category":null,"description":"Caching mock fetch implementation (v2.3.1, 2023, MIT) that automatically caches real HTTP responses on first call and replays them on subsequent calls. Supports node, bun, deno and testing frameworks like jest, vitest, node:test. Key differentiator: no manual mock writing – just run real fetch once, cache auto-saved to filesystem (or custom stores). Used by yahoo-finance2 for 1400+ API calls in <1s. Active development with semantic releases. Alternative to nock, msw, jest-fetch-mock that offers zero-config caching and team/CI cache sharing via committed fixtures.","language":"javascript","status":"active","version":"2.3.1","tags":["javascript","fetch","mock","fetch-mock","node:test","vitest","jest","cache","bun","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install fetch-mock-cache","imports":["import createFetchCache from 'fetch-mock-cache'","import FsStore from 'fetch-mock-cache/stores/fs'","import type { FetchCache } from 'fetch-mock-cache'"]},{"cmd":"yarn add fetch-mock-cache","imports":[]},{"cmd":"pnpm add fetch-mock-cache","imports":[]}],"homepage":"https://github.com/gadicc/fetch-mock-cache#readme","github":"https://github.com/gadicc/fetch-mock-cache","docs":null,"changelog":null,"pypi":null,"npm":"fetch-mock-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}