Preparing for system design interviews?  Try bugzed.com →

string-replace-middleware

JSON →
library 1.1.0 ·javascript
verified Jun 17, 2026

Express middleware that performs stream-based string replacement in HTTP response bodies on the fly. Current stable version is 1.1.0, released under MIT license, with infrequent updates. Key differentiator: works on the response stream before sending, unlike typical string replacement that buffers entire responses. Supports configurable Content-Type filtering via regex (default: text/*, application/json, application/xml). Ships TypeScript type declarations. Requires Node >=10 and Express. Not recommended for production with large or streaming responses due to potential performance overhead.

total hits 16
actors 4 distinct systems
last hit 18d ago AhrefsBot
GPTBot
4
Script
1
Search engines
3
Humans
4

top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇬🇧 United Kingdom · 🇩🇪 Germany