fetch-spy
JSON →Simple fetch mocking module for testing HTTP requests in Node.js and browser environments. Current stable version is 1.3.0. It allows spying on fetch calls with pattern matching on method and URL path, returning custom Response objects. Key differentiators: lightweight, zero dependencies, TypeScript-first with built-in types, and simple reset mechanism. Release cadence is low; package is stable and mature for its niche.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain