Intercept & mock http requests issued by XMLHttpRequest, fetch, nodejs https/http module, axios, jquery, superagent, ky, node-fetch, request, got or any other request libraries by intercepting XMLHttpRequest, fetch and nodejs native requests at low level.
JavaScript
73
7
No license
http-request-mock is a JavaScript library that intercepts and mocks HTTP requests made by popular libraries like axios, jQuery, and fetch. It allows developers to simulate API responses during development or testing without relying on actual backend services, making it ideal for frontend developers working on applications with incomplete or unavailable APIs.
Total donated
Undistributed
Share with your subscribers:
Recipients
How the donated funds are distributed
Support the dependencies of huturen/http-request-mock
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.