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

Axios adapter that allows to easily mock requests

Downloads279,532,302
Stars3,528
Forks256
Issue closure rate70%
Age9 years
Last released9 months ago
counterfact
0.05

a library for building a fake REST API for testing

Downloads81,465
Stars124
Forks14
Issue closure rate85%
Age3 years
Last released21 days ago
msw
5.25

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

Downloads492,281,990
Stars16,894
Forks553
Issue closure rate96%
Age7 years
Last released7 days ago
nock
4.73

HTTP server mocking and expectations library for Node.js

Downloads724,714,738
Stars12,980
Forks746
Issue closure rate96%
Age14 years
Last released5 hours ago
superagent
7.68

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

Downloads2,253,218,225
Stars16,623
Forks1,329
Issue closure rate84%
Age14 years
Last released4 days ago

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