10 Best Express Mocking Libraries

List hand-picked by Openbase Experts
Learn More

exp

@jest-mock/express

A lightweight Jest mock for unit testing Express

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
20
Weekly Downloads
28K
Last Commit
4mos ago
nmh

node-mocks-http

Mock 'http' objects for testing Express routing functions

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
639
Weekly Downloads
297K
Last Commit
5mos ago
ome

openapi-mock-express-middleware

Generates express mock server from Open API spec

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
15
Weekly Downloads
775
Last Commit
3mos ago
erm

express-request-mock

🖖 A convenient wrapper for node-mocks-http which makes testing Express controllers and middleware easy.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
12
Weekly Downloads
5K
Last Commit
6mos ago
mer

mock-express-request

Nodejs library to mock express http request

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
24
Weekly Downloads
89K
Last Commit
4yrs ago
mer

mock-express-response

Nodejs library to mock expressjs http response

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
24
Weekly Downloads
75K
Last Commit
1yr ago

express-mock-api-middleware

Express middleware for mocking restful APIs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
4
Weekly Downloads
449
Last Commit
6mos ago

express-oven

An easy mock API generator with express.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
21
Last Commit
1mo ago

@mediamonks/monck

Add highly configurable API mocks to your express server

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
67
Last Commit
1mo ago
ems

express-mock-server

Mock server powered by Express.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
5
Weekly Downloads
162
Last Commit
8mos ago
emh

express-mocks-http

Mock 'http' objects for testing Express routing functions

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
639
Weekly Downloads
98
Last Commit
5mos ago
api

apimocker

node.js module to run a simple http server for mock service responses.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
272
Weekly Downloads
987
Last Commit
2yrs ago
smm

super-mock-middleware

an express mock data middleware

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
1
Last Commit
3mos ago
xmo

xmock

A simple express-like http mocking for in-memory tests.

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
235
Last Commit
6yrs ago
req

reqresnext

Tiny helper for express middleware testing

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
5
Weekly Downloads
22
Last Commit
6mos ago

farso

express middleware library to mock http server

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
48
Last Commit
1yr ago
shm

shmock

Simple HTTP Mocking Library

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
103
Weekly Downloads
33
Last Commit
6yrs ago
am

apimock-middleware

connect middleware for API Mocking.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
9
Weekly Downloads
19
Last Commit
7yrs ago

@loremipsum/mocking-hans

You don't mock the Hans, he's mocking you.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
24
Weekly Downloads
16
Last Commit
2yrs ago
tra

transformium

Transformium is a simple API proxy server implemented using Express. API proxy configuration can be applied immediately on the running server without restarting.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
1
Last Commit
8mos ago
mua

mock-user-auth

Mock-User-Auth is a mock user authentication API developed in Nodejs and Express using JWT as authenticator using the ES6 version of JavaScript.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
6
Last Commit
2yrs ago
ms

mitm-servers

Higher level intercepting and mocking library for Node.js HTTP requests in testing

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
2
Last Commit
6yrs ago
jda

json-dummy-api

NPM package to create dummy JSON API response backed by the express server for front-end developers in minimum code possible

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
0
Last Commit
1yr ago
moc

mockapi

A quick and dirty api framework in node. Great for quickly mocking out or prototyping an api.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
13
Weekly Downloads
0
Last Commit
6yrs ago
sup

supermockapi

A lightweight, user-friendly, and powerful tool for mocking API endpoints. Useful for testing API client integrations, or performance testing your application without sending traffic to your API dependencies.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
1
Last Commit
4yrs ago