Mokku helps you by mocking API calls and changing their response, response time, and status. Easily test all your use cases like long loading times, error states, or missing/incorrect data.
| Store | Link |
|---|---|
| Chrome Web Store | Install Now |
Mokku adds itself as a tab in your Dev Tools panel. From there, you can see network logs, manage mocks, and much more.
- Specify JSON body, HTTP status, time delay, and headers.
- GraphQL Support: Supports mocking GraphQL queries and mutations.
- Dynamic Response Mocking: Write JavaScript functions to return complex, conditional responses.
- Dynamic URL Support: Use patterns like
goals/:goalId. The URL parameters are available for your dynamic response function. - VSCode Editor Added Monaco editor, the VSCode editor for editing response and functions
We Uses path-to-regexp v8.2.0 for dynamic url matching.
- Easily modify request headers—globally for all requests or specifically for individual URLs.
- Group and organize your mocks and headers by Project for simplified management.
- Keep your mocks & headers by exporting by project basis and import them back as well.
- Mokku operates within the Dev Tools panel, showing network logs and enabling mocking.
- Any network call from the logs can be mocked with a simple click, or you can create a mock from scratch.
- Access/Injection: All URLs are accessible, but Mokku does not inject scripts into any page apart from those served locally (
http://localhost*) until manually enabled from the Panel.
Mokku is committed to user privacy:
- It does not collect or ask for any personal information.
- Mocks are stored securely in the Chrome local store.
Developing and maintaining Mokku is a significant effort! Please consider supporting the extension if it helps your workflow.
Alternatively, use UPI: 811721108 (This is a UPI number, not a mobile number).
Please use https://github.com/mukuljainx/Mokku/issues to report any bug or feature request.
- node + npm (Current Version)
| Directory | Description |
|---|---|
dist |
The final Chrome Extension directory. |
dist/js |
Generated JavaScript files. |
npm install
