I'm not involved to use RPI GPIO with nodered but I received this thread within the forum popular topics email and read it by curiosity.
I'm really surprised that there is not C alike library to access GPIO and I fully understand the strange choice of RPI python support in the case you need to use nodejs.
After a quick search engine use it appears that RPI GPIO can be used now with a C/C++ interface through libgpiod:
Doc: Welcome to libgpiod’s documentation! — libgpiod documentation
Git: GitHub - brgl/libgpiod: This is a mirror of the original repository over at kernel.org. This github page is for discussions and issue reporting only. PRs can be discussed here but the patches need to go through the linux-gpio mailing list.
Examples: libgpiod/examples at master · brgl/libgpiod · GitHub
From the RPI doc found at https://pip.raspberrypi.com/categories/685-app-notes-guides-whitepapers/documents/RP-006553-WP/A-history-of-GPIO-usage-on-Raspberry-Pi-devices-and-current-best-practices.pdf
libgpiod is a C library and set of tools for interacting with the Linux GPIO character devices (/dev/gpiochipX). Note that gpiod
stands for GPIO device, not daemon. There are two versions of libgpiod , version 1 and version 2. At present, Raspberry Pi OS
includes the version 1 library, so you should take that into account when using the various tools as their behaviour does change
between versions.
This document is related to past and current libraries to use GPIO and it seems that currently it's either libgpiod (C/C++), gpiozero (Python) or pinctrl (binary executable).