Mock Service Worker
Mock Service Worker (MSW) is an industry-standard, open-source API mocking library for the browser and Node.js. MSW intercepts outgoing requests at the network level using Service Workers in browsers and a request interception algorithm in Node.js, allowing developers to write client-agnostic mocks for HTTP, GraphQL, WebSocket, and Server-Sent Events and reuse them across any framework, tool, or environment for development, testing, and debugging.
1 APIs
0 Features
API MockingGraphQLHTTPMock ServerMockingService WorkerTestingWebSocket
APIs
Mock Service Worker
Mock Service Worker (MSW) is an open-source library for mocking REST, GraphQL, WebSocket, and Server-Sent Events APIs at the network level. It provides setupWorker for browser e...
Semantic Vocabularies
Resources
🔗
Website
Website
🔗
Documentation
Documentation
🚀
GettingStarted
GettingStarted
👥
GitHub
GitHub
💻
Examples
Examples
🔗
NPM
NPM
🔗
Discord
Discord
🔗
Sponsor
Sponsor
🔗
OpenCollective
OpenCollective
🔗
License
License
🔗
JSON-LD
JSON-LD
🔗
JSONSchema
JSONSchema