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

Axios adapter that allows to easily mock requests

Downloads285,105,319
Stars3,532
Forks255
Issue closure rate69%
Age9 years
Last released10 months ago
counterfact
0.05

a library for building a fake REST API for testing

Downloads87,622
Stars125
Forks14
Issue closure rate85%
Age3 years
Last releaseda month ago
msw
5.22

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

Downloads510,577,287
Stars16,988
Forks556
Issue closure rate96%
Age7 years
Last released21 days ago
nock
4.68

HTTP server mocking and expectations library for Node.js

Downloads740,505,316
Stars12,991
Forks745
Issue closure rate96%
Age14 years
Last releaseda day ago
superagent
7.60

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

Downloads2,291,946,394
Stars16,630
Forks1,329
Issue closure rate84%
Age14 years
Last released11 days ago

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