string-replace-middleware
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 16
actors 4 distinct systems
last hit 18d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇬🇧 United Kingdom · 🇩🇪 Germany
Resources
API endpoints
compatibility /v1/registry/string-replace-middleware/compatibility