HTTP Mocking

Mock network requests and test modules in isolation
Compare by

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

superagent
8.97

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

Downloads1,607,224,121
Stars16,529
Forks1,326
Issue closure rate84%
Age13 years
Last released7 months ago
nock
5.39

HTTP server mocking and expectations library for Node.js

Downloads485,741,139
Stars12,499
Forks732
Issue closure rate96%
Age13 years
Last releaseda month ago
msw
5.27

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

Downloads233,603,241
Stars14,660
Forks455
Issue closure rate95%
Age5 years
Last released2 days ago
axios-mock-adapter
1.55

Axios adapter that allows to easily mock requests

Downloads179,382,789
Stars3,311
Forks230
Issue closure rate67%
Age8 years
Last released7 months ago
counterfact
0.04

a library for building a fake REST API for testing

Downloads12,422
Stars75
Forks11
Issue closure rate86%
Age2 years
Last released7 days ago

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