Making custon wrapper nodes from scratch?

I've made a lot of "nodes" in the shape of subflows. It would be cool to transfer them to palette nodes, building them up with js instead. Perhaps to the benefit of the wider community also getting feedback and improvement suggestions. Moving nodes from subflows to palette would help greatly with distribution as well as version control. And perhaps support the use of custom utils libraries and other structures like singletons which is hard, cumbersome or impossible in node red directly.

However, a lot of my subflows are "wrapper nodes" in the sense that they build on other nodes. How feasible is it to execute other nodes / palette nodes from source code? I would very much avoid cloning other repos and make adjustments to 3rd party code. Executing from node red is of course a breeze, worried it may be more troublesome from javascript. Further, would there be much licensing issues surrounding this? Of course I'd like to share my nodes for free, just as the nodes I'm using are freely available.

Anyone have experience with this?

There is this article that may help. Creating custom node from subflow in Node-RED | by Kazuhito Yokoi | Medium

1 Like

Also in the main docs here Packaging a Subflow as a module : Node-RED