MSW

MIT

Seamlessly mocking APIs in tests and development with client-side interception

Overview

Mock Service Worker intercepts requests at the network level using Service Workers in browsers and native Node.js modules. No server setup required, works in any framework.

Details

Languages

TypeScriptJavaScript

Runtimes

Node.jsBrowser

Categories

HTTP Interception

Spec Support

OpenAPI