Mock by intercepting requests on the network level. Seamlessly reuse the same mock definition for testing, development, and debugging. A dedicated layer of requests interception at your disposal. Keep your application's code and tests unaware of whether something is mocked or not. Request the same production resources and test the actual behavior of your app. Augment an existing API, or design it as you go, when there is none. Use Express-like routing syntax to capture outgoing requests. Parameters, wildcards, regular expressions, mocking has never been easier. Browser usage is what sets Mock Service Worker apart from other tools. Utilizing the Service Worker API, which can intercept requests for the purpose of caching, Mock Service Worker responds to captured requests with your mock definition on the network level. This way your application knows nothing about the mocking.

Features

  • Interception on the network level
  • Standardized Service Worker API
  • Support of REST API and GraphQL
  • Composable functional syntax
  • Client-side execution
  • Native TypeScript support

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Mock Service Worker

Mock Service Worker Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mock Service Worker!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software, TypeScript Libraries

Registered

2022-03-14