Introducing node-red-utils - Developing Nodes - Node-RED Forum
I've been writing custom nodes for my own projects for a couple of years, and kept copying the same chunks of code. Every node that did real work needed a worker thread, most of them needed the editor side to talk to the runtime side, and half of them needed an endpoint to serve a script to the editor. I got tired of that and pulled it all into one re-usable package. I'm putting it out here in case my structure is useful to anyone else It's on npm as @nrutils/node-red-utils and the source is at...