{"library":"node-request-interceptor","type":"library","category":null,"description":"Low-level HTTP/HTTPS/XHR request interception library for Node.js, currently at v0.6.3 (stable). It monkey-patches native modules like http, https, fetch, and XMLHttpRequest to intercept all outgoing requests, allowing custom logic to be applied before responses are sent. Unlike high-level mocking libraries (e.g., nock, sinon), it provides no request matching or routing—just raw interception. It is designed as a building block for tools like MSW. Releases are frequent, with active maintenance and breaking changes in v0.41.0 affecting CJS exports. Ships TypeScript types and supports ESM and CJS.","language":"javascript","status":"active","version":"0.6.3","tags":["javascript","request","intercept","http","https","xmlhttprequest","xhr","fetch","low-level","typescript"],"install":[{"cmd":"npm install node-request-interceptor","imports":["import { RequestInterceptor } from 'node-request-interceptor'","import withDefaultInterceptors from 'node-request-interceptor/presets/default'","import { interceptXMLHttpRequest } from 'node-request-interceptor/interceptors/XMLHttpRequest'"]},{"cmd":"yarn add node-request-interceptor","imports":[]},{"cmd":"pnpm add node-request-interceptor","imports":[]}],"homepage":null,"github":"https://github.com/mswjs/node-request-interceptor","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-request-interceptor","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/node-request-interceptor/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}