service-mocker/service-mocker
🚀 Next generation frontend API mocking framework observed · 2026-09-03
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
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: n/a
- age_days: 3562
- days_rel: n/a
- days_push: 2234
- n_releases_24m: 0
Adoption not part of the score
1005 stars · 28 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Service Mocker is a frontend API mocking framework that uses service workers to intercept real HTTP requests without requiring any backend server. It provides an Express-style routing system for defining mock endpoints in browser-based development workflows.
Use cases
- mock backend APIs during frontend development
- intercept fetch requests with service workers
- test frontend apps without a real server
- define express-style mock routes in the browser
- prototype frontend features before the API exists
When to choose
- you need realistic HTTP request/response mocking in the browser
- you want API mocks with zero server setup
- you prefer express-style routing for mock endpoints
When to avoid
- you need to mock in Node.js or non-browser environments
- your target browsers lack service worker support and you cannot use polyfills
- you need an actively maintained project - last release was 2020
Facets
framework · maturity maintenance
mocking mock-api http-client routing testing web-development frontend developer-tools testing browser service-worker api-mocking frontend-development express-style-routing no-server nodejs javascript
3 sources
- readme: https://github.com/service-mocker/service-mocker · fetched 2026-09-03 · 4d378891653b
- homepage: https://service-mocker.js.org · fetched 2026-08-29 · 36e0997fda20
- registry_npm: https://registry.npmjs.org/service-mocker · fetched 2026-08-29 · 89ab78ac50ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| service-mocker/service-mocker | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="service-mocker/service-mocker")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem