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

Axios adapter that allows to easily mock requests

Downloads253,879,674
Stars3,506
Forks250
Issue closure rate70%
Age9 years
Last released6 months ago
counterfact
0.05

a library for building a fake REST API for testing

Downloads61,070
Stars118
Forks13
Issue closure rate85%
Age3 years
Last released2 months ago
msw
5.30

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

Downloads414,158,877
Stars16,537
Forks544
Issue closure rate96%
Age6 years
Last releaseda month ago
nock
4.84

HTTP server mocking and expectations library for Node.js

Downloads655,696,043
Stars12,879
Forks738
Issue closure rate95%
Age14 years
Last released2 days ago
superagent
7.92

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

Downloads2,086,331,797
Stars16,607
Forks1,325
Issue closure rate84%
Age14 years
Last released18 days ago

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