HI all,
I managed to get it to work using some cool C++ libraries and the help of this website https://nodeaddons.com/building-an-asynchronous-c-addon-for-node-js-using-nan/
However, it’s a while ago I touched the code and it is far from being finished. It works in the console only and you need to wrap it for node-red.
You can find the code here: https://github.com/probstmartin/npm-demo-pkg
Good luck,
Martin.