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.39

Axios adapter that allows to easily mock requests

Downloads289,688,175
Stars3,536
Forks254
Issue closure rate69%
Age9 years
Last released10 months ago
counterfact
0.05

a library for building a fake REST API for testing

Downloads92,252
Stars126
Forks15
Issue closure rate85%
Age3 years
Last released2 days ago
msw
5.19

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

Downloads527,025,923
Stars17,046
Forks558
Issue closure rate95%
Age7 years
Last released9 days ago
nock
4.64

HTTP server mocking and expectations library for Node.js

Downloads753,156,320
Stars13,002
Forks745
Issue closure rate96%
Age14 years
Last released10 days ago
superagent
7.54

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

Downloads2,325,366,119
Stars16,634
Forks1,329
Issue closure rate84%
Age14 years
Last releaseda month ago

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