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
Find Hidden Risks in Windows Task Scheduler Icon
Find Hidden Risks in Windows Task Scheduler

Free diagnostic script reveals configuration issues, error patterns, and security risks. Instant HTML report.

Windows Task Scheduler might be hiding critical failures. Download the free JAMS diagnostic tool to uncover problems before they impact production—get a color-coded risk report with clear remediation steps in minutes.
Download Free Tool
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