[ANNOUNCE] node-red-contrib-http-logger: version 3.0.0 beta

Hi folks,

Quite some time ago that I made an announcement here...

A beta 3.0.0 version is now available on the upgrade-to-mswjs branch of my node-red-contrib-http-logger Github repository. I needed this migration already for quite some time, because the mitm (Man In The Middle) library is not maintained anymore, and things change quickly in NodeJs (like e.g. the new Fetch API).

So I wanted to switch to the well maintained @mswjs/interceptors library. However they did not support binary data (without data conversions) as response body, which would be a performance nightmare for me (e.g. when intercepting webcam images). But recently I got a friendly message that they had refactored their codebase to solve my issue, so finally I could refactor my own node.

In the following demo I use a normal Httprequest-node to get snapshot images from a public webcam. And as soon as I start intercepting the http request/response in NodeJs, you can see the intercepted images

interceptor

You can install my node directly from my Github repo, by executing following command (from within your .node-red folder):

npm install bartbutenaers/node-red-contrib-http-logger#upgrade-to-mswjs

Note that you need to have git installed to use the above command!

It would be nice if somebody could test this new version!

Have fun with it!
Bart

3 Likes