msw-snapshot
JSON →Transparently create an API cache for testing using MSW. v5.3.0 (stable). Integrates with MSW v2 to snapshot network requests and replay them in tests, reducing reliance on live APIs. Key differentiators: supports snapshot update strategies (none/all/missing), customizable snapshot paths via createSnapshotPath, and callbacks for fetch events. Ships TypeScript types. Requires msw ^2.0.0 as a peer dependency.
Traffic · last 30 days stale · no recent hits
total hits 11
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · CR · IQ
Resources
packagemsw-snapshot ↗