Skip to content

Conversation

@tianchangNorth
Copy link
Contributor

@tianchangNorth tianchangNorth commented Dec 6, 2025

Checklist:

  • I've read and understood Contributing Guidelines.
  • I've added the new resource at the end of its section.
  • This resource is out there for a while, and actively maintained.
  • This resource is popular enough and has at least a few hundred stars on GitHub.

Pocket Mocker is a lightweight, zero-config visual debugging tool that lives directly in the browser. It intercepts fetch and XMLHttpRequest via Proxy, providing a floating UI that allows developers to modify API responses, simulate network latency, or trigger HTTP errors on the fly without modifying source code.

While tools like MSW are excellent for automated testing, Pocket Mocker fills a specific gap for rapid UI prototyping and mobile web (H5) debugging. Since it's an embedded NPM package rather than a browser extension, it works in environments where extensions aren't available (like mobile WebViews). It offers a "visual" alternative to code-first mocking libraries.

GitHub:https://github.com/tianchangNorth/pocket-mocker

@gokaygurcan gokaygurcan merged commit 0c71e0d into sorrycc:master Dec 8, 2025
1 check passed
@gokaygurcan
Copy link
Collaborator

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants