HTMLRewriter is pretty cool and avoids to embedded such logic in our workers: Thanks to Clouflare worker team for this!
But using this new API broke our local test suite: We were relying on dollarshaveclub to locally test our workers but the support of HTMLRewriter is not planned - and will not be (see https://github.com/dollarshaveclub/cloudworker/issues/138).
Any way Cloudflare could provide it? Any recommandation to mock or emulate it? Anyone working on it in the community?
Seeing its exposition in the worker environment; I suppose it is based on native bindings which implementation cannot be shared with the community but still, I’m asking the question :).
Thanks in advance for any advice!