Skip to content
You must be logged in to sponsor mswjs

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.

  1. 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.
  2. 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.
  3. 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 sponsors

@microsoft
@github
@chromaui
@getsentry
@replayio
@kentcdodds

Current sponsors 21

@Aprillion
@cmacdonnacha
@silvenon
@pushred
@threepointone
@andris-silis
@KhaledMohamedP
@laststance
@codemod-com
@MaterializeInc
@vital-software
@ryanmagoon
@replayio
@Infra-Workleap
@chromaui
@Jhony0311
@erikras
@rogerchi
@niccholaspage
Private Sponsor
@thnxdev
Past sponsors 47
@kentcdodds
@takefumi-yoshii
@Shinyaigeek
@gabbanaesteban
@slowselfip
@awareness481
@SerkanSipahi
@tinleym
@jacobrask
@hrsh7th
@andrmaz
@bastianplsfix
@danlourenco
@codecov
@triggerdotdev
Private Sponsor
@sairus2k
@straw-hat-team

Featured work

  1. mswjs/msw

    Industry standard API mocking for JavaScript.

    TypeScript 16,147
  2. mswjs/source

    Generate MSW request handlers from various sources (HAR files, OpenAPI documents, etc).

    TypeScript 153
  3. mswjs/data

    Data modeling and relation library for testing JavaScript applications.

    TypeScript 840
  4. mswjs/msw-storybook-addon

    Mock API requests in Storybook with Mock Service Worker.

    TypeScript 417
  5. mswjs/http-middleware

    Spawn an HTTP server from your request handlers or apply them to an existing server using a middleware.

    TypeScript 111
  6. mswjs/interceptors

    Low-level network interception library.

    TypeScript 575

Select a tier

$ a month

You'll receive any rewards listed in the $9 monthly tier. Additionally, a Public Sponsor achievement will be added to your profile.

$9 a month

Select

Supporter

  • Get a Sponsor badge on your GitHub profile.
  • Get a shoutout from us on Twitter.

$20 a month

Select

Sponsor

  • Get a Sponsor badge on your GitHub profile.
  • Get a shoutout from us on Twitter.

$50 a month

Select

🥉 Bronze sponsor

  • Get your GitHub user avatar and link featured in the "Bronze sponsors" in our README (12k unique views per week).
  • Get a shoutout from us on Twitter.

$150 a month

Select

🥈 Silver sponsor

  • Get your GitHub user/organization logo and link featured in the "Silver sponsors" section in our README (12k unique views per week).
  • Get a shoutout from us on Twitter.

$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.