node-red function that takes an array then generates pair permutations of all cells in a loop or generation of cloned messages. For loop then message sent to second output on return to input port it sends the next permutation in loop until all have been processed.
Run the following command in the root directory of your Node-RED install or via GUI install
npm install node-red-contrib-array-permutations
Folder test contains a flow that tests the various combinations.
0.0.4 fix bug with loop and ensure all separated messages have unique id.
0.0.3 if error set msg.error and send to error port. Fix bug with loop