Skip to content
JS
Package category

Dev servers and API mocking

Local servers, proxies, mock APIs and fixtures for development.

213 packages8 comparisons

Packages compared

213 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
mocktown
Record an app's outbound traffic, serve it back as stateful mocks, and keep them alive as the real services change.
1.5k--12 days ago
0.4.1
ESM onlyNoneDev servers and API mocking, Testing
@omniaura/scenario-sim
Deterministic scenario simulator for frontend QA: stateful CRUD routes, seeded RNG, virtual clock, response sequences, faults and overrides, SSE and WebSocket routes with scheduled events and resume, per-run isolation, inspectable event log. Runtime-neutr
1.4k---11 days ago
0.3.0
ESM onlyBundledWebSockets and realtime, Dev servers and API mocking
@graphql-mocks/network-msw
Mock using graphql-mocks with msw (mock service worker)
1.3k---9 months ago
0.5.0
ESM + CommonJSBundledGraphQL, Dev servers and API mocking
axios-mock-server
RESTful mock server using axios
1.3k-4%-5 years ago
0.19.1
CommonJSNoneDev servers and API mocking
@hot-teapot/mock-yard
A browser devtools panel for MSW, built for orval + Faker. Toggle mocked endpoints, switch success/empty/error/custom scenarios, tweak latency & status, and inspect traffic — without touching code.
1.3k---2 months ago
1.1.0
ESM + CommonJSBundledDev servers and API mocking, Testing
cjs-mock
NodeJS module mocking for CJS (CommonJS) modules for unit testing purposes.
1.3k+23%-1 year ago
3.1.0
CommonJSBundledDev servers and API mocking, Testing
storybook-msw-addon
An MSW (Mock Service Worker) addon including a control panel that enables interaction and manipulation of mock requests within Storybook. MSW 2.3.3 + Storybook 8
1.3k-82%-1 year ago
2.1.8
ESM + CommonJSBundledDev servers and API mocking
@api.global/typedserver
A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.
1.2k---1 day ago
13.0.2
ESM onlyNoneDev servers and API mocking, TypeScript tooling
openapi-to-msw
Generate random mock data from OpenAPI descriptions for msw.
1.2k+1408%-4 years ago
1.1.15
ESM + CommonJSBundledDev servers and API mocking, Documentation tooling
@frangio/servbot
A small dev server script for local static site development
1.1k---1 year ago
0.3.0-1
ESM + CommonJSBundledDev servers and API mocking, Static site generators and meta-frameworks
warp-drive
WarpDrive is the data framework for ambitious web applications
1.1k+292%-20 days ago
0.2.1
ESM onlyNoneGraphQL, TypeScript tooling
vitest-auto-mock
Library for mocking dependencies in Vitest with TypeScript without need to provide a path.
1.1k+19%-7 months ago
0.1.3
ESM + CommonJSBundledTesting, TypeScript tooling
socket.io-mock-ts
Mocked version of Socket.IO for testing
768---6 months ago
1.0.3
ESM + CommonJSBundledTesting, WebSockets and realtime

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • mocktownRecord an app's outbound traffic, serve it back as stateful mocks, and keep them alive as the real services change.
  • @omniaura/scenario-simDeterministic scenario simulator for frontend QA: stateful CRUD routes, seeded RNG, virtual clock, response sequences, faults and overrides, SSE and WebSocket routes with scheduled events and resume, per-run isolation, inspectable event log. Runtime-neutr
  • @graphql-mocks/network-mswMock using graphql-mocks with msw (mock service worker)
  • axios-mock-serverRESTful mock server using axios
  • @hot-teapot/mock-yardA browser devtools panel for MSW, built for orval + Faker. Toggle mocked endpoints, switch success/empty/error/custom scenarios, tweak latency & status, and inspect traffic — without touching code.
  • cjs-mockNodeJS module mocking for CJS (CommonJS) modules for unit testing purposes.
  • storybook-msw-addonAn MSW (Mock Service Worker) addon including a control panel that enables interaction and manipulation of mock requests within Storybook. MSW 2.3.3 + Storybook 8
  • @api.global/typedserverA TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.
  • openapi-to-mswGenerate random mock data from OpenAPI descriptions for msw.
  • @frangio/servbotA small dev server script for local static site development
  • warp-driveWarpDrive is the data framework for ambitious web applications
  • vitest-auto-mockLibrary for mocking dependencies in Vitest with TypeScript without need to provide a path.
  • socket.io-mock-tsMocked version of Socket.IO for testing