</>PackageGraphPackageGraph

msw

npmv2.15.0TypeScript

Seamless REST/GraphQL API mocking library for browser and Node.js.

0
Weekly downloads
4
Dependents
63
Dependencies
6/100
Popularity

Overview

msw is an npm package that seamless REST/GraphQL API mocking library for browser and Node.js. The latest version is 2.15.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need seamless REST/GraphQL API mocking library for browser and Node.js and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (63 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of msw.

Dependencies

Runtime (18)

@inquirer/confirm ^6.0.11@mswjs/interceptors ^0.41.3@open-draft/deferred-promise ^3.0.0@types/statuses ^2.0.6cookie ^1.1.1graphql ^16.13.2headers-polyfill ^5.0.1is-node-process ^1.2.0outvariant ^1.4.3path-to-regexp ^6.3.0picocolors ^1.1.1rettime ^0.11.11statuses ^2.0.2strict-event-emitter ^0.5.1tough-cookie ^6.0.1type-fest ^5.5.0until-async ^3.0.2yargs ^17.7.2

Peer (1)

typescript >= 4.8.x

Dev (44)

@commitlint/cli ^20.5.0@commitlint/config-conventional ^20.5.0@epic-web/test-server ^0.1.6@fastify/websocket ^11.2.0@graphql-typed-document-node/core ^3.2.0@open-draft/test-server ^0.4.2@ossjs/release ^0.11.1@playwright/test ^1.59.1@types/express ^5.0.6@types/json-bigint ^1.0.4@types/node ~22.19.17@types/serviceworker ^0.0.194@web/dev-server ^0.4.6axios ^1.15.0babel-minify ^0.5.1commitizen ^4.3.1cross-env ^10.1.0cross-fetch ^4.1.0cz-conventional-changelog 3.3.0esbuild ^0.28.0esbuild-loader ^4.4.3express ^5.2.1fastify ^5.8.5fs-teardown ^0.3.0glob ^13.0.6jsdom ^25.0.1json-bigint ^1.0.0knip ^6.4.1lint-staged ^16.4.0msw ^2.15.0oxlint ^1.0.0page-with ^0.6.1prettier ^3.8.3publint ^0.3.18regenerator-runtime ^0.14.1rimraf ^6.1.3simple-git-hooks ^2.13.1tsup ^8.5.1typescript ^5.9.3undici ^7.28.0url-loader ^4.1.1vitest ^4.1.4webpack ^5.106.2webpack-http-server ^0.5.0

Used by

Popular packages that depend on msw.

Alternatives to msw

Frequently installed together

Version history

VersionPublishedLicense
2.15.0latest11 days agoMIT
2.14.712 days agoMIT
2.14.62 months agoMIT
2.14.52 months agoMIT
2.14.42 months agoMIT
2.14.32 months agoMIT
2.14.22 months agoMIT
2.14.12 months agoMIT
2.14.02 months agoMIT
2.13.62 months agoMIT
2.13.52 months agoMIT
2.13.43 months agoMIT
2.13.33 months agoMIT
2.13.23 months agoMIT
2.13.13 months agoMIT
2.13.03 months agoMIT
2.12.144 months agoMIT
2.12.134 months agoMIT
2.12.124 months agoMIT
2.12.114 months agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install msw?

Run `npm install msw` to add msw to your npm project.

What license is msw released under?

msw is distributed under the MIT license.

How popular is msw?

msw has approximately 0 downloads per week and 4 known dependent packages.