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

Downloads294,391,578
Stars3,538
Forks254
Issue closure rate69%
Age9 years
Last releaseda year ago
counterfact
0.05

a library for building a fake REST API for testing

Downloads98,165
Stars128
Forks15
Issue closure rate85%
Age3 years
Last released12 hours ago
msw
5.17

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

Downloads544,226,981
Stars17,102
Forks561
Issue closure rate96%
Age7 years
Last released19 hours ago
nock
4.61

HTTP server mocking and expectations library for Node.js

Downloads766,326,808
Stars13,017
Forks745
Issue closure rate96%
Age14 years
Last released16 days ago
superagent
7.49

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

Downloads2,362,040,387
Stars16,631
Forks1,329
Issue closure rate84%
Age14 years
Last released2 months ago

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