{"library":"express-intercept","type":"library","category":null,"description":"express-intercept is a lightweight Express.js middleware library providing a fluent API for intercepting, inspecting, replacing, and transforming HTTP responses and requests. It simplifies complex tasks like modifying response bodies, logging sensitive request/response data, or dynamically altering content types. The current stable version, 1.1.1, demonstrates active maintenance, though a formal release cadence is not specified. A key differentiator is its robust handling of chunked and compressed responses, automatically decompressing and recompressing as needed, allowing developers to work with response bodies as strings, buffers, or streams without manual stream manipulation for these complexities. It offers conditional execution of interceptors via `for()` and `if()` methods, enabling targeted and efficient middleware application.","language":"javascript","status":"active","version":"1.1.1","tags":["javascript","expressjs","inspector","interceptor","middleware","modify","response","tamper","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-intercept","imports":["import { responseHandler } from 'express-intercept';","import { requestHandler } from 'express-intercept';","import type { RequestHandlerBuilder, ResponseHandlerBuilder } from 'express-intercept';"]},{"cmd":"yarn add express-intercept","imports":[]},{"cmd":"pnpm add express-intercept","imports":[]}],"homepage":null,"github":"https://github.com/kawanet/express-intercept","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-intercept","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/express-intercept/compatibility"}}