Package note
msw
The industry standard for API mocking in JavaScript.
The industry standard for API mocking in JavaScript.
Scroll the table horizontally to compare packages. Each fact includes its source and limits.
| Fact | msw |
|---|---|
| Analyzed version | 3.0.9 |
| npm downloads | 38,294,713 Source2026-11-29 through 2026-12-05 (inclusive) Retrieved: 2026-12-06T10:21:52.926Z All versions; includes CI and repeat downloads, not unique users. |
| Browser bundle | 80.1 KB gzip 234.8 KB minified Bundlephobia minified + gzip Version 3.0.9 SourceRetrieved: 2026-12-06T10:21:52.851Z Synthetic default-entry browser bundle; imports, plugins, runtime and bundler settings change app output. |
| Version released | 2026-12-05T01:22:43.749Z Version 3.0.9 SourceRetrieved: 2026-12-06T10:21:52.812Z Publisher-declared metadata; not an independent code audit. |
| Registry modified | 2026-12-05T01:22:44.310Z Version 3.0.9 SourceRetrieved: 2026-12-06T10:21:52.812Z Registry document modification, not necessarily a code release. |
| Declared license | MIT Version 3.0.9 SourceRetrieved: 2026-12-06T10:21:52.812Z Publisher-declared metadata; not an independent code audit. |
| Registry-declared types | ./lib/core/index.d.ts./lib/ws/index.d.ts./lib/sse/index.d.ts./lib/http/index.d.ts./lib/node/index.d.ts./lib/vite/index.d.ts./lib/browser/index.d.ts./lib/graphql/index.d.ts./lib/utils/*.d.ts./src/vite/client.d.ts./lib/core/experimental/index.d.tsVersion 3.0.9 SourceRetrieved: 2026-12-06T10:21:52.812Z Registry-declared paths only; files, correctness and runtime compatibility have not been verified. Missing paths mean unknown. |
| npm unpacked size | 3.3 MB Version 3.0.9 SourceRetrieved: 2026-12-06T10:21:52.812Z npm unpacked archive size; not a browser bundle measurement. |
| Security advisories | Not checked Retrieved: Unavailable No advisory service is queried. Not checked does not mean safe. |
Analyzed versions follow the latest npm dist-tag at acquisition. Compatibility has not been verified.
- msw: The industry standard for API mocking in JavaScript.
The table records msw version 3.0.9. Download counts cover all versions during the stated period. Read each source with its retrieval time and limits. Missing declarations mean unknown. Security advisories are not checked, and no composite health or quality score is assigned.
Free JS Stack Cheatsheet
The best package for every category — one PDF.
Join 500+ devs. No spam.