Publishing your own node as a module in the Node-RED Library
Here, we will publish the created node in the Node-RED library. To do that, some work is required. So far, you have created your own node and confirmed that it can be used only in your environment. However, since it is a unique node created by you, let's publish it on the internet and have everyone in the world use it. To do this, you need to publish your own node to a location called the Node-RED library, which can be found here: https://flows.nodered.org/.
Important note
The Node-RED library is a community-based place to publish nodes and flows. Therefore, you should avoid exposing incomplete or useless nodes. This is because the Node-RED users should be able to find the nodes that they want, and it is not desirable to have a mix of unwanted nodes.
So, although this chapter will explain how to publish nodes, please avoid exposing test nodes or sample node-level ones.
Publishing the node you created
Follow...