🌜
🌞

Best JavaScript Mock Server Libraries

msw

msw

v0.44.2

Seamless REST/GraphQL API mocking library for browser and Node.js.

Last Commit
Sep 18, 2022
GitHub Stargazers
10.5K
License
MIT
Contributors
nise

nise

v5.1.1

Fake XHR and server

Last Commit
Aug 29, 2022
GitHub Stargazers
102
License
BSD-3-Clause
Contributors
28
mongodb-memory-server-core

mongodb-memory-server-core

v8.8.0

MongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.

Last Commit
Sep 26, 2022
GitHub Stargazers
1,997
License
MIT
Contributors
83
mongodb-memory-server

mongodb-memory-server

v8.8.0

MongoDB Server for testing (auto-download latest version). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.

Last Commit
Sep 26, 2022
GitHub Stargazers
1,997
License
MIT
Contributors
83
webpack-dev-mock

webpack-dev-mock

v2.0.0

Webpack devserver middleware mock server

Last Commit
Sep 14, 2022
GitHub Stargazers
17.3K
License
MIT
Contributors
36
midway-mock

midway-mock

v1.20.3

mock server for midway

Last Commit
Sep 25, 2022
GitHub Stargazers
6,065
License
MIT
Contributors
46
@verdaccio/mock

@verdaccio/mock

v6.0.0-6-next.12

mock server for testing

Last Commit
Sep 26, 2022
GitHub Stargazers
13.9K
License
MIT
Contributors
96
nock

nock

v13.2.9

HTTP server mocking and expectations library for Node.js

Last Commit
Sep 2, 2022
GitHub Stargazers
11.7K
License
MIT
Contributors
99
oauth2-mock-server

oauth2-mock-server

v5.0.0

OAuth 2 mock server

Last Commit
Jun 28, 2022
GitHub Stargazers
91
License
MIT
Contributors
9
local-web-server

local-web-server

v5.2.1

A lean, modular web server for rapid full-stack development

Last Commit
May 28, 2022
GitHub Stargazers
1,076
License
MIT
Contributors
5
@staticdeploy/mock-server

@staticdeploy/mock-server

v3.0.0

Easy to use, no frills mock server

Last Commit
Apr 24, 2022
GitHub Stargazers
33
License
MIT
Contributors
4
egg-mock

egg-mock

v4.2.1

mock server for egg

Last Commit
May 17, 2022
GitHub Stargazers
144
License
Contributors
23
pptr-mock-server

pptr-mock-server

v1.2.0

Tiny library for backendless testing using Puppeteer

Last Commit
Aug 9, 2022
GitHub Stargazers
30
License
ISC
Contributors
4
mongodb-memory-server-global

mongodb-memory-server-global

v8.8.0

MongoDB Server for testing (auto-download latest version to ~/.cache/mongodb-binaries).

Last Commit
Sep 26, 2022
GitHub Stargazers
1,997
License
MIT
Contributors
83
json-server

json-server

v0.17.0

Get a full fake REST API with zero coding in less than 30 seconds

Last Commit
May 3, 2022
GitHub Stargazers
63.5K
License
MIT
Contributors
64
mongodb-memory-server-global-4.2

mongodb-memory-server-global-4.2

v8.8.0

MongoDB Server for testing (auto-download 4.2 version to ~/.cache/mongodb-binaries).

Last Commit
Sep 26, 2022
GitHub Stargazers
1,997
License
MIT
Contributors
83
mongodb-memory-server-global-4.4

mongodb-memory-server-global-4.4

v8.8.0

MongoDB Server for testing (auto-download 4.4 version to ~/.cache/mongodb-binaries).

Last Commit
Sep 26, 2022
GitHub Stargazers
1,997
License
MIT
Contributors
83
@offirgolan/nise

@offirgolan/nise

v4.1.0

Fake XHR and server

Last Commit
Aug 29, 2022
GitHub Stargazers
102
License
BSD-3-Clause
Contributors
28
@mockoon/commons-server

@mockoon/commons-server

v3.1.0

Mockoon's commons server library. Used in Mockoon desktop application and CLI.

Last Commit
Mar 28, 2022
GitHub Stargazers
6
License
MIT
Contributors
8
hock

hock

v1.4.1

A mocking server for HTTP requests

Last Commit
Apr 9, 2020
GitHub Stargazers
85
License
MIT
Contributors
11
mongodb-memory-server-global-4.0

mongodb-memory-server-global-4.0

v8.8.0

MongoDB Server for testing (auto-download 4.0 version to ~/.cache/mongodb-binaries).

Last Commit
Sep 26, 2022
GitHub Stargazers
1,997
License
MIT
Contributors
83
webpack-mock-server

webpack-mock-server

v1.0.17

Mocks api requests for webpack-dev-server with hot-replacement

Last Commit
Jul 21, 2022
GitHub Stargazers
10
License
MIT
Contributors
2
mock-http-server

mock-http-server

v1.4.5

Controllable HTTP Server Mock for your functional tests

Last Commit
Nov 17, 2021
GitHub Stargazers
38
License
MIT
Contributors
7
s3rver

s3rver

v3.7.1

Fake S3 server for node

Last Commit
Oct 5, 2021
GitHub Stargazers
468
License
MIT
Contributors
49
@zhennann/egg-mock

@zhennann/egg-mock

v4.2.0

mock server for egg

Last Commit
May 17, 2022
GitHub Stargazers
144
License
Contributors
23