Node-red-contrib-splitter

A Node-RED node to split arrays into seperate messages, making it easy to loop over

Download .zip Download .tar.gz View on GitHub

node-red-node-splitter

This node iterates over an array.

The idea

In enterprise integration patterns there are many names for this: a splitter, sequencer, iterator or chunkifier.

In the end 'splitter' is the best name imho. More info here

Why a node?

Well..look at this image, and then imagine using 10 loops in a similar way:

Got the point? With visual progarmming the Deutsch Limit seems to lure around every corner. Better to make a node for that.

Installation

Run:

npm install node-red-contrib-splitter

Author

Leon van Kammen, http://coderofsalvation.github.io / http://github.com/coderofsalvation

License

GPL