Become a sponsor to Mock Service Worker
Mock Service Worker is an API mocking library. It allows you to intercept requests and mock their responses. You've probably used tools like it before.
You've never used something quite like MSW though. Here's why.
- You can use MSW anywhere. It works in the browser and in Node.js, which means any browser tooling and any Node.js tooling. Playwright, Cypress, Karma, Electron, Jest, Vitest, Express, Fastify, React Native. No configurations or adapters. MSW never belongs to a particular tooling.
- You use web standards when mocking with MSW. You use the Fetch API to handle requests and responses in your app. You use the same Fetch API to intercept requests and declare mock responses. Consistent, feature-rich, and predictable. Learn the web, not the tools.
- You allow requests to actually happen. MSW runs as much of the underlying network code as possible when mocking. It relies on the Service Worker API to provision request interception without touching your application's code. Control over the network without compromising the integrity of your app.
Learn more about MSW in the Documentation.
Why sponsor?
MSW has become a go-to choice for API mocking in JavaScript for hundreds of thousands of developers. It's used by Google, Microsoft, Amazon, Cloudflare, Adobe, Spotify, Vercel, and countless others. There are more than 100,000 repositories on GitHub alone that rely on MSW, and it's being downloaded about 3,000,000 times per week on NPM. People develop, test, debug, explore, and teach with MSW. It has become an essential tool in the JavaScript ecosystem.
By sponsoring the project, you support its present and invest in its future. You help it become less of an over-weekend hobby project and more of a stable, funded piece of software. By supporting MSW you support the future of API mocking, making it brighter for everyone. And we will make sure everyone knows about your investment in the future.
See the benefits you get as a sponsor in the list on the right →
How we use your contributions
MSW is a non-commercial open-source project. It's owned and actively maintained by a single person. Your contributions allow for it to exist and evolve. Let's be more specific.
By sponsoring the project you're creating a budget to:
- Investigate issues;
- Brainstorm, design, and implement features;
- Compensate active contributors for their work;
- Support the community on Discord, GitHub Discussions, StackOverflow, and Twitter.
Thank you for making these incredible things happen!
Featured work
-
mswjs/source
Generate MSW request handlers from various sources (HAR files, OpenAPI documents, etc).
TypeScript 144 -
mswjs/data
Data modeling and relation library for testing JavaScript applications.
TypeScript 821 -
mswjs/msw-storybook-addon
Mock API requests in Storybook with Mock Service Worker.
TypeScript 407 -
mswjs/http-middleware
Spawn an HTTP server from your request handlers or apply them to an existing server using a middleware.
TypeScript 108 -
mswjs/interceptors
Low-level network interception library.
TypeScript 563
$9 a month
SelectSupporter
- Get a Sponsor badge on your GitHub profile.
- Get a shoutout from us on Twitter.
$20 a month
SelectSponsor
- Get a Sponsor badge on your GitHub profile.
- Get a shoutout from us on Twitter.
$50 a month
Select$150 a month
Select$500 a month
Select🥇 Golden sponsor
- Get your issues/feature requests prioritized by our team.
- Monthly 1h consulting session with one of our team members. Ask questions, review your setup, or pair-program to get the most out of Mock Service Worker in your project.
- Get your GitHub user/organization logo and link featured in the "Gold sponsors" in our README (8k unique views per week).
- Get a special shoutout from us on Twitter.