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
@kubb/plugin-redoc
Generate a ReDoc API reference page with Kubb. Produces a standalone HTML file you can host without a build step.
4.6k---14 days ago
5.0.2
ESM + CommonJSBundledDocumentation tooling, TypeScript tooling
@stacksjs/ts-faker
ts-mocker is a performance-focused and lightweight faker/data mocking library for TypeScript.
4.4k---4 months ago
0.1.8
ESM onlyBundledInternationalisation, Testing
@kubb/plugin-mcp
Generate Model Context Protocol (MCP) tool definitions with Kubb. Expose your REST APIs as AI-callable tools for LLMs, Claude, ChatGPT, and other AI assistants.
4.1k---1 day ago
5.0.5
ESM + CommonJSBundledTypeScript tooling, Dev servers and API mocking
wildcard-mock-link
apollo client mocking
4.1k-79%-3 years ago
2.0.4
ESM + CommonJSBundledDev servers and API mocking, GraphQL
prisma-generator-fake-data
The easiest way to generate mock data based on your Prisma models!
4k+12%-7 months ago
0.18.3
CommonJSNoneORMs and query builders, Dev servers and API mocking
@fakerjs/string
String package provides functionality to generate a fake string value.
4k---4 years ago
2.1.1
ESM onlyBundledDev servers and API mocking, TypeScript tooling
sinon-mongoose
Sinon extensions for Mongoose stubs
3.8k-77%-7 years ago
2.3.0
CommonJSNoneDev servers and API mocking, ORMs and query builders
interface-forge
A TypeScript library for creating strongly typed mock data factories using Faker.js for test data generation
3.7k+93%-3 months ago
2.7.0
ESM + CommonJSBundledDev servers and API mocking, Testing
storybook-mirage
A Storybook addon to use and interact with a MirageJS server
3.5k-53%-1 year ago
0.6.0
CommonJSNoneDev servers and API mocking, GraphQL
@kubb/plugin-vue-query
Generate type-safe TanStack Query (Vue Query) composables with Kubb. Covers useQuery, useMutation, useInfiniteQuery, and queryOptions with Vue 3 Composition API support.
3.5k---1 day ago
5.1.3
ESM + CommonJSBundledVue, TypeScript tooling
vite-plugin-mock-server
Vite mock server plugin
3.5k-21%-2 years ago
1.3.1
ESM onlyBundledDev servers and API mocking, Testing
vitest-auto-spy
Auto-generate fully-typed test spies from a class — across Vitest, Bun, node:test and Rstest, with Angular/NestJS/React/Vue/Svelte recipes. Drop-in replacement for jest-auto-spies and jasmine-auto-spies.
3.3k--1 day ago
5.29.0
ESM + CommonJSBundledTesting, Vue
babel-plugin-mockable-imports
Babel plugin for mocking ES imports
3.3k+7%-4 years ago
2.0.1
ESM onlyNoneDev servers and API mocking
react-router-enzyme-context
A helper for mocking react router v4 context and childContextTypes when testing components with Enzyme mount() and shallow().
3.3k-32%-8 years ago
1.2.0
ESM + CommonJSNoneReact, Routing
bunyan-adaptor
Maps the major Bunyan/Pino logging methods to custom methods
3.3k+81%-1 year ago
7.0.0
ESM + CommonJSBundledDev servers and API mocking
@amadeus-it-group/kassette
Development server, used mainly for testing, which proxies requests and is able to easily manage local mocks.
3.2k---5 months ago
1.7.6
CommonJSBundledDev servers and API mocking, Testing
counterfact
Turn an OpenAPI document into a useful local API for frontend development in one command.
3.1k+25%-27 days ago
2.16.5
ESM onlyBundledDocumentation tooling, TypeScript tooling
openapi-mock-express-middleware
Generates express mock-servers from OpenAPI specs
3.1k+99%-1 year ago
4.4.0
CommonJSBundledDocumentation tooling, TypeScript tooling
jest-mock-now
Date.now() as deterministic Jest mock function.
3.1k+1%-6 years ago
1.3.0
CommonJSNoneDate and time, Testing
@zitterorg/magni-eos
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
3k---2 years ago
5.8.60
CommonJSNoneCLI tools and terminal utilities, Testing
create-test-server
Creates a minimal Express server for testing
3k-23%-7 years ago
3.0.1
CommonJSNoneTesting, Dev servers and API mocking
graphql-query-test-mock
Mock queries to your GraphQL backend in your Jest tests.
3k-65%-6 years ago
0.12.1
CommonJSBundledGraphQL, Testing
rollup-plugin-dev
a development server for rollup
2.8k-15%-1 year ago
2.1.0
ESM + CommonJSBundledDev servers and API mocking, Bundler plugins and loaders
google-drive-mock
Mock-Server that simulates being google-drive. Used for testing.
2.8k--3 months ago
1.2.0
CommonJSBundledTesting, Dev servers and API mocking
bgproc
Simple process manager for agents
2.8k--6 months ago
0.3.0
ESM onlyNoneCLI tools and terminal utilities, Node.js utilities
@webhooksite/cli
A console utility used to interact with the Webhook.site API and proxy/forward/tunnel requests from a Webhook.site URL to any destination on your local network.
2.7k---2 days ago
0.3.4
ESM onlyNoneCLI tools and terminal utilities, Dev servers and API mocking
zodock
A library for generating mock data based on Zod schemas
2.6k-33%--
0.1.0
ESM + CommonJSBundledDev servers and API mocking, Schema validation
icedfrisby-nock
Concise support for mock requests in IcedFrisby
2.6k-13%--
2.1.0
CommonJSNoneDev servers and API mocking, Testing
@test-effective/fakes
Test Effective Fakes
2.6k---5 months ago
0.4.0
ESM onlyBundledDev servers and API mocking, Testing
mocker-data-generator
A simplified way to generate mock data, builds using a simple schema and with the FakerJs
2.5k+36%-2 months ago
4.0.0
ESM + CommonJSBundledDev servers and API mocking, Testing
socket-vcr-test
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
2.4k+374%-3 months ago
2.1.0
CommonJSBundledDev servers and API mocking, Testing
@alenon/grpc-mock-server
gRPC mock server written on typescript
2.4k---4 months ago
3.2.9
CommonJSBundledDev servers and API mocking, TypeScript tooling
chronokinesis
Module for testing time-dependent code
2.3k-15%-5 days ago
8.1.0
ESM + CommonJSBundledDate and time, Testing
vitest-mms
mongodb-memory-server integration for vitest
2.3k+11%-1 year ago
0.2.7
ESM + CommonJSBundledTesting, Dev servers and API mocking
@graphql-mocks/network-nock
Mock using graphql-mocks with Nock
2.2k---9 months ago
0.7.0
ESM + CommonJSBundledGraphQL, Dev servers and API mocking
@webjsdev/server
The server for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Provides the file-based router, SSR, server actions, route handlers, middleware, and live reload on Node 24+ or Bun.
2k---5 days ago
0.8.67
ESM onlyBundledStatic site generators and meta-frameworks, Dev servers and API mocking
mongodb-memory-server-global-4.4
MongoDB Server for testing (auto-download 4.4 version to ~/.cache/mongodb-binaries).
1.9k+128%-4 days ago
11.3.0
CommonJSBundledTesting, Dev servers and API mocking
@stuntman/client
Stuntman - HTTP proxy / mock API client
1.9k---7 months ago
1.0.2
ESM onlyBundledTesting, Dev servers and API mocking
@async-fn/jest
Additional methods to jest.fn to introduce "late resolve" of promises returned by mock functions. This allows tests that read chronologically, like a story.
1.8k---4 months ago
1.8.0
CommonJSBundledTesting, Dev servers and API mocking
@simulacrum/auth0-simulator
Run local instance of Auth0 API for local development and integration testing
1.8k---1 month ago
0.13.1
ESM onlyBundledDev servers and API mocking
vcr-test
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
1.8k+262%-27 days ago
1.4.2
CommonJSBundledDev servers and API mocking, Testing
wirepig
Better testing through the power of sockets.
1.8k+72%-3 years ago
0.1.0
ESM + CommonJSBundledTesting, Dev servers and API mocking
vite-console-forward-plugin
A Vite plugin that forwards browser console logs to the Vite dev server console
1.7k+181%--
2.0.1
ESM onlyBundledBundler plugins and loaders, Dev servers and API mocking
@cruglobal/graphql-ergonomock
Automatic mocking of GraphQL operations.
1.7k---1 year ago
1.2.2
CommonJSNoneTesting, GraphQL
dev-process-manager
dev-process-manager is a Node.js process manager for local development environments that need multiple processes. It can be easily integrated into existing Node.js projects.
1.7k--9 days ago
4.1.0
ESM onlyBundledNode.js utilities, Build tools
json-server-auth
Authentication middleware for JSON Server
1.6k-32%-5 years ago
2.1.0
CommonJSBundledDev servers and API mocking, Testing
mock-cloud-firestore
Mock library for Cloud Firestore
1.6k-22%--
0.12.0
ESM + CommonJSNoneCloud SDKs, Dev servers and API mocking
@stuntman/server
Stuntman - HTTP proxy / mock server with API
1.6k---7 months ago
1.0.2
ESM onlyBundledTesting, Dev servers and API mocking
@simulacrum/foundation-simulator
Base simulator to build simulators for integration testing.
1.6k---3 months ago
0.8.0
ESM onlyBundledDev servers and API mocking
@aryzing/bun-mock-fetch
Mock fetch requests in Bun.
1.6k---6 months ago
1.2.0
ESM onlyBundledTesting, Dev servers and API mocking

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.

  • @kubb/plugin-redocGenerate a ReDoc API reference page with Kubb. Produces a standalone HTML file you can host without a build step.
  • @stacksjs/ts-fakerts-mocker is a performance-focused and lightweight faker/data mocking library for TypeScript.
  • @kubb/plugin-mcpGenerate Model Context Protocol (MCP) tool definitions with Kubb. Expose your REST APIs as AI-callable tools for LLMs, Claude, ChatGPT, and other AI assistants.
  • wildcard-mock-linkapollo client mocking
  • prisma-generator-fake-dataThe easiest way to generate mock data based on your Prisma models!
  • @fakerjs/stringString package provides functionality to generate a fake string value.
  • sinon-mongooseSinon extensions for Mongoose stubs
  • interface-forgeA TypeScript library for creating strongly typed mock data factories using Faker.js for test data generation
  • storybook-mirageA Storybook addon to use and interact with a MirageJS server
  • @kubb/plugin-vue-queryGenerate type-safe TanStack Query (Vue Query) composables with Kubb. Covers useQuery, useMutation, useInfiniteQuery, and queryOptions with Vue 3 Composition API support.
  • vite-plugin-mock-serverVite mock server plugin
  • vitest-auto-spyAuto-generate fully-typed test spies from a class — across Vitest, Bun, node:test and Rstest, with Angular/NestJS/React/Vue/Svelte recipes. Drop-in replacement for jest-auto-spies and jasmine-auto-spies.
  • babel-plugin-mockable-importsBabel plugin for mocking ES imports
  • react-router-enzyme-contextA helper for mocking react router v4 context and childContextTypes when testing components with Enzyme mount() and shallow().
  • bunyan-adaptorMaps the major Bunyan/Pino logging methods to custom methods
  • @amadeus-it-group/kassetteDevelopment server, used mainly for testing, which proxies requests and is able to easily manage local mocks.
  • counterfactTurn an OpenAPI document into a useful local API for frontend development in one command.
  • openapi-mock-express-middlewareGenerates express mock-servers from OpenAPI specs
  • jest-mock-nowDate.now() as deterministic Jest mock function.
  • @zitterorg/magni-eos[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
  • create-test-serverCreates a minimal Express server for testing
  • graphql-query-test-mockMock queries to your GraphQL backend in your Jest tests.
  • rollup-plugin-deva development server for rollup
  • google-drive-mockMock-Server that simulates being google-drive. Used for testing.
  • bgprocSimple process manager for agents
  • @webhooksite/cliA console utility used to interact with the Webhook.site API and proxy/forward/tunnel requests from a Webhook.site URL to any destination on your local network.
  • zodockA library for generating mock data based on Zod schemas
  • icedfrisby-nockConcise support for mock requests in IcedFrisby
  • @test-effective/fakesTest Effective Fakes
  • mocker-data-generatorA simplified way to generate mock data, builds using a simple schema and with the FakerJs
  • socket-vcr-testRecord your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
  • @alenon/grpc-mock-servergRPC mock server written on typescript
  • chronokinesisModule for testing time-dependent code
  • vitest-mmsmongodb-memory-server integration for vitest
  • @graphql-mocks/network-nockMock using graphql-mocks with Nock
  • @webjsdev/serverThe server for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Provides the file-based router, SSR, server actions, route handlers, middleware, and live reload on Node 24+ or Bun.
  • mongodb-memory-server-global-4.4MongoDB Server for testing (auto-download 4.4 version to ~/.cache/mongodb-binaries).
  • @stuntman/clientStuntman - HTTP proxy / mock API client
  • @async-fn/jestAdditional methods to jest.fn to introduce "late resolve" of promises returned by mock functions. This allows tests that read chronologically, like a story.
  • @simulacrum/auth0-simulatorRun local instance of Auth0 API for local development and integration testing
  • vcr-testRecord your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
  • wirepigBetter testing through the power of sockets.
  • vite-console-forward-pluginA Vite plugin that forwards browser console logs to the Vite dev server console
  • @cruglobal/graphql-ergonomockAutomatic mocking of GraphQL operations.
  • dev-process-managerdev-process-manager is a Node.js process manager for local development environments that need multiple processes. It can be easily integrated into existing Node.js projects.
  • json-server-authAuthentication middleware for JSON Server
  • mock-cloud-firestoreMock library for Cloud Firestore
  • @stuntman/serverStuntman - HTTP proxy / mock server with API
  • @simulacrum/foundation-simulatorBase simulator to build simulators for integration testing.
  • @aryzing/bun-mock-fetchMock fetch requests in Bun.