HTTP Mocking

Mock network requests and test modules in isolation
Compare by

Missing a library? Add it to the list by editing this category.

axios-mock-adapter
1.38

Axios adapter that allows to easily mock requests

Downloads295,801,551
Stars3,539
Forks254
Issue closure rate69%
Age9 years
Last releaseda year ago
counterfact
0.05

a library for building a fake REST API for testing

Downloads99,919
Stars128
Forks16
Issue closure rate85%
Age3 years
Last released7 days ago
msw
5.17

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

Downloads549,616,317
Stars17,119
Forks561
Issue closure rate96%
Age7 years
Last released7 days ago
nock
4.60

HTTP server mocking and expectations library for Node.js

Downloads770,360,199
Stars13,024
Forks745
Issue closure rate96%
Age14 years
Last released22 days ago
superagent
7.48

elegant & feature rich browser / node HTTP with a fluent API

Downloads2,372,838,699
Stars16,634
Forks1,329
Issue closure rate84%
Age14 years
Last released2 months ago

Missing a library? Add it to the list by editing this category.