jakerella/jquery-mockjax
The jQuery Mockjax Plugin provides a simple and extremely flexible interface for mocking or simulating ajax requests and responses observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 97
- Release rhythm 71
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 71
- age_days: 5964
- days_rel: 118
- days_push: 23
- n_releases_24m: 2
Adoption not part of the score
2088 stars · 365 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A jQuery plugin that mocks and simulates ajax requests and responses so front-end code can be tested without a live server. It intercepts $.ajax() calls and returns configurable mock responses, statuses, headers, and latency.
Use cases
- mock ajax requests in front-end unit tests
- simulate API responses without a backend server
- test error handling by simulating HTTP status codes and timeouts
- simulate network latency in jQuery ajax calls
- mock JSONP requests during testing
When to choose
- you are testing jQuery-based front-end code that uses $.ajax()
- you need fine-grained control over mocked responses, headers, and latency
- you want request matching by URL, data, headers, or HTTP method
When to avoid
- your front end does not use jQuery's ajax methods
- you need mocking for fetch or axios instead
- you want a mock server for integration or production use
Facets
library · maturity stable
mocking testing http-client testing frontend web-development developer-tools browser cross-platform jquery-plugin ajax-mocking front-end-testing unit-testing nodejs
2 sources
- readme: https://github.com/jakerella/jquery-mockjax · fetched 2026-08-28 · b2f51da41ee0
- registry_npm: https://registry.npmjs.org/jquery-mockjax · fetched 2026-08-29 · f1004f41c35b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jakerella/jquery-mockjax | main | 88 |
For agents
markdown · JSON · MCP: product_card(name="jakerella/jquery-mockjax")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem