Express Response Modification Middleware

JSON →
library 1.1.0 ·javascript
verified May 27, 2026

The `modify-response-middleware` package provides an Express middleware designed to intercept and transform HTTP response bodies before they are sent to the client. It transparently handles various compression encodings like Gzip, Brotli, Deflate, and Br, allowing developers to modify response data regardless of its original compression status. As of version 1.1.0, it supports both uncompressed and compressed payloads, offering options to disable caching (`noCache`). This middleware is particularly useful for injecting data, sanitizing output, or performing last-minute transformations on API responses. Its release cadence appears stable but infrequent, typical for a focused utility. A key differentiator is its built-in handling of common compression algorithms, abstracting away the complexities of decompression and re-compression during modification.

total hits 20
actors 8 distinct systems
last hit 3d ago human
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2
Humans
5

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇳🇴 Norway · 🇸🇬 Singapore · 🇨🇦 Canada