msw 3.0.1

The industry standard for API mocking in JavaScript.

msw@3.0.1 was published on 2026-09-30. Its manifest declares 12 runtime dependencies and 3 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=22.12.0.

All msw versions · Permanent reference to 3.0.1 · Latest release

Package specifications

Version3.0.1
License declarationMIT
Published2026-09-30T12:39:00.705Z
Node.js requirement>=22.12.0
Type declarationsBundled declarations
Runtime dependency count12
Peer requirement count3
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size3268.49 KiB
Published file count258
Package typemodule
ES module entryNot declared
Default entry./lib/core/index.js
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies48
Repository stars18307
Repository forks642

Install msw 3.0.1

npm install msw@3.0.1
pnpm add msw@3.0.1
yarn add msw@3.0.1

Runtime dependencies

Peer requirements

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained10/10 — 9 commit(s) and 10 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Code-Review0/10 — Found 0/30 approved changesets -- score normalized to 0
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Token-Permissions10/10 — GitHub workflow tokens follow principle of least privilege
Binary-Artifacts10/10 — no binaries found in the repo
Pinned-Dependencies10/10 — all dependencies are pinned
License10/10 — license file detected
Fuzzing0/10 — project is not fuzzed
Security-Policy0/10 — security policy file not detected
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness