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

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

Downloads1,678,476,933
Stars16,543
Forks1,327
Issue closure rate84%
Age13 years
Last released25 days ago
nock
5.31

HTTP server mocking and expectations library for Node.js

Downloads509,530,955
Stars12,561
Forks733
Issue closure rate96%
Age13 years
Last releaseda month ago
msw
5.29

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

Downloads255,994,310
Stars14,966
Forks470
Issue closure rate94%
Age6 years
Last released16 days ago
axios-mock-adapter
1.56

Axios adapter that allows to easily mock requests

Downloads189,268,126
Stars3,400
Forks240
Issue closure rate67%
Age8 years
Last released8 months ago
counterfact
0.04

a library for building a fake REST API for testing

Downloads15,916
Stars80
Forks11
Issue closure rate82%
Age2 years
Last released9 days ago

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