{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/msw/","markdown":"https://findsoftware.frbit.cloud/msw.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"msw","name":"Mock Service Worker","urls":{"home":"https://mswjs.io","repository":"https://github.com/mswjs/msw","docs":"https://mswjs.io/docs/"},"category":["testing"],"description":"API mocking library for JavaScript that intercepts requests in the browser and in Node.js and answers them with mocked responses.","maintainer":"Artem Zakharchenko","maintainerType":"individual","firstRelease":2018,"hosting":null,"language":"javascript","runtime":["node"],"runtimeMin":null,"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"renderingModes":null,"installMethod":"npm","licenseModel":"open-source","license":"MIT","currentMajor":"3","latestReleaseDate":"2026-11-15T00:00:00.000Z","githubStargazers":18351,"contributors":172,"packagistDownloads":null,"npmWeeklyDownloads":33333070,"dependentRepos":11851,"dependentPackages":2234,"social":{"x":"https://x.com/ApiMocking","discord":"https://discord.com/invite/z29WbnfDC5","youtube":"https://www.youtube.com/c/MockServiceWorker"},"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://mswjs.io","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://mswjs.io/docs/","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/mswjs/msw","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/mswjs/msw/blob/main/LICENSE.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainerType","url":"https://github.com/mswjs/msw/blob/main/LICENSE.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/mswjs/msw","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://mswjs.io","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://mswjs.io","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://registry.npmjs.org/msw","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/mswjs/msw/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/mswjs/msw/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://mswjs.io/docs/quick-start","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://github.com/mswjs/msw/blob/main/LICENSE.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/mswjs/msw/blob/main/LICENSE.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/msw","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/msw","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/msw","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/mswjs/msw","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/mswjs/msw/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"Mock Service Worker is an API mocking library for JavaScript that answers an application's requests with mocked responses while the application code stays unchanged. In the browser it uses the Service Worker API to intercept requests at the network level. In Node.js it intercepts requests at the socket level, and the same request handlers serve tests, local development and debugging in both environments.\n\nHandlers use an Express-like routing syntax and can describe REST, GraphQL, Server-Sent Events and WebSocket traffic. The [documentation](https://mswjs.io/docs/) covers setup for each environment, and a [comparison page](https://mswjs.io/docs/comparison) sets it beside Nock, JSON Server, Mirage, Cypress and Playwright.\n\n## Worth knowing\n\nThe FAQ says Node.js versions below a stated minimum are not supported."}