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

Downloads280,700,286
Stars3,529
Forks256
Issue closure rate70%
Age9 years
Last released9 months ago
counterfact
0.05

a library for building a fake REST API for testing

Downloads82,763
Stars125
Forks14
Issue closure rate85%
Age3 years
Last releaseda month ago
msw
5.24

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

Downloads495,867,211
Stars16,911
Forks553
Issue closure rate96%
Age7 years
Last released4 days ago
nock
4.72

HTTP server mocking and expectations library for Node.js

Downloads728,038,318
Stars12,981
Forks746
Issue closure rate96%
Age14 years
Last released5 days ago
superagent
7.67

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

Downloads2,261,418,325
Stars16,624
Forks1,329
Issue closure rate84%
Age14 years
Last released9 days ago

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