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

Axios adapter that allows to easily mock requests

Downloads243,296,602
Stars3,486
Forks250
Issue closure rate70%
Age9 years
Last released4 months ago
counterfact
0.05

a library for building a fake REST API for testing

Downloads48,471
Stars115
Forks13
Issue closure rate85%
Age3 years
Last released5 days ago
msw
5.30

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

Downloads384,381,325
Stars16,369
Forks536
Issue closure rate96%
Age6 years
Last released2 months ago
nock
4.89

HTTP server mocking and expectations library for Node.js

Downloads629,247,604
Stars12,832
Forks739
Issue closure rate95%
Age13 years
Last released8 days ago
superagent
8.02

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

Downloads2,022,011,243
Stars16,610
Forks1,326
Issue closure rate84%
Age13 years
Last released4 months ago

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