npm package
Homemsw
Mock Service Worker (MSW) is a library for seamless API mocking in JavaScript applications, allowing developers to intercept requests at the network level without altering application code. It is ideal for testing REST and GraphQL APIs, providing a way to simulate server responses during development and testing. MSW enhances productivity by enabling developers to work with real API behaviors while mocking responses.
- lurq health score
- 87/100
- Confidence
- proven
- Weekly downloads
- 14,677,582
- Latest version
- 2.15.0
- Last release
- Jul 8, 2026
- License
- MIT
Should you depend on msw?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks msw at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading msw
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 1.3.5 → 2.15.0diff ready
- 0.49.3 → 1.3.5diff ready
Other testing packages lurq scores
- fast-check94/100 · proven
- marked93/100 · proven
- @middy/util93/100 · proven
- jsdom90/100 · proven
- mocha90/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 21, 2026; this page refreshes every 168 hours. Source repository.