# Making custon wrapper nodes from scratch?

**URL:** https://discourse.nodered.org/t/making-custon-wrapper-nodes-from-scratch/97723
**Category:** General
**Created:** [20 June 2025 16:40 UTC](https://discourse.nodered.org/t/making-custon-wrapper-nodes-from-scratch/97723 "2025-06-20T16:40:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ThingsTinkerer](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)
#### Post date: [20 June 2025 16:40 UTC](https://discourse.nodered.org/t/making-custon-wrapper-nodes-from-scratch/97723/1 "2025-06-20T16:40:08Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [20 June 2025 17:08 UTC](https://discourse.nodered.org/t/making-custon-wrapper-nodes-from-scratch/97723/2 "2025-06-20T17:08:19Z")

</div>

There is this article that may help. [Creating custom node from subflow in Node-RED | by Kazuhito Yokoi | Medium](https://kazuhitoyokoi.medium.com/creating-custom-node-from-subflow-in-node-red-ce52cc42bbba)

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [20 June 2025 21:29 UTC](https://discourse.nodered.org/t/making-custon-wrapper-nodes-from-scratch/97723/3 "2025-06-20T21:29:18Z")

</div>

Also in the main docs here [Packaging a Subflow as a module : Node-RED](https://nodered.org/docs/creating-nodes/subflow-modules)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [18 September 2025 21:29 UTC](https://discourse.nodered.org/t/making-custon-wrapper-nodes-from-scratch/97723/4 "2025-09-18T21:29:40Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
