pkg.soopen package index

npm / rank 89

Install msw with npm

Seamless REST/GraphQL API mocking library for browser and Node.js. Version 2.15.0 via npm; verified 2026-07-08.

install

Additional install commands

Portable and language managers

npmverified · 100%
npm install -g msw

local npm package metadata

overview

Package summary

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

Commands and aliases

  • msw

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for msw. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • npm lifecycle scripts are declared: postinstall.
  • npm package metadata declares a postinstall script.
  • No Homebrew bottle metadata was recorded.
  • Installs with 18 runtime dependencies.
  • Build metadata lists 44 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mswcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-04
manager version2.15.0
manager updated2026-07-08
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/mswjs/msw

install metadata

Package metadata

Package keynpm:msw
Version2.15.0
Package managernpm
Package manager pagehttps://www.npmjs.com/package/msw
Homepagehttps://mswjs.io
Repositoryhttps://github.com/mswjs/msw
Upstream docshttps://mswjs.io
LicenseMIT
Source archivehttps://registry.npmjs.org/msw/-/msw-2.15.0.tgz
Issue trackerhttps://github.com/mswjs/msw/issues
Last updated2026-07-08T01:43:07.502Z
Published2026-07-08T01:43:07.502Z
Pulseupdated
Dependencies@inquirer/confirm, @mswjs/interceptors, @open-draft/deferred-promise, @types/statuses, cookie, graphql, headers-polyfill, is-node-process, outvariant, path-to-regexp, picocolors, rettime, statuses, strict-event-emitter, tough-cookie, type-fest, until-async, yargs
Build dependencies@commitlint/cli, @commitlint/config-conventional, @epic-web/test-server, @fastify/websocket, @graphql-typed-document-node/core, @open-draft/test-server, @ossjs/release, @playwright/test, @types/express, @types/json-bigint, @types/node, @types/serviceworker, @web/dev-server, axios, babel-minify, commitizen, cross-env, cross-fetch, cz-conventional-changelog, esbuild, esbuild-loader, express, fastify, fs-teardown, glob, jsdom, json-bigint, knip, lint-staged, msw, oxlint, page-with, prettier, publint, regenerator-runtime, rimraf, simple-git-hooks, tsup, typescript, undici, url-loader, vitest, webpack, webpack-http-server
Bottlenot recorded
npm postinstalldefined
Servicenone declared
Keywordsapi, mock, mocking, worker, prototype, server, service, handler, testing, front-end, back-end

registry facts

Source database details

Source Databasenpm registry
Dist Tags
Version Count337
Maintainers
  • kettanaito
AuthorArtem Zakharchenko
PublisherGitHub Actions
Engines
Peer Dependencies
  • typescript
Fundinghttps://github.com/sponsors/mswjs
Integritysha512-2wQAmKkQKxRuXvYJxVhPGG0wZNBQyD06oJvxqw90XqLvptdqxdlHrFUfEteKkpaNORX3Xzc+HtEl/q0nfmN2wQ==
Shasum4028ba3d887af8c166d45aa3bf37116f73f21cec
Unpacked Size6,048,017
File Count0
Created At2018-11-18T22:25:58.733Z
Latest Published At2026-07-08T01:43:07.502Z
Modified At2026-07-08T01:43:07.769Z

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • cross-ecosystem install command graph
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation