I developed a long time ago the node-red-contrib-msg-speed node. But I need to develop another node, which needs the reuse most of the internals as the speed node. I would like to share the functionality between both nodes, to avoid having to maintain it twice...
What is the best way to deal which such a situation:
- Extract that functionality from the speed node and isolate it into a new separate npm package (and let both nodes use that package as a dependency).
- Other solutions?