I have developed an alternative to node node-red-node-pi-gpio:
The gpio library is based on the character devices interface (V2) from the Linux operating system.
Works also on Raspberry Pi 5.
The used library can be also accessed with C++ and node.js.
Here are the library links:
Node.js npm
Github: