@tmus/node-red-contrib-array-iterator 1.0.2

Given an array input, when this node is executed it will pass the “next” value of the array to the succeeding connected node(s).

npm install @tmus/node-red-contrib-array-iterator

Array Iterator

Travis (.com) branch GitHub package.json version npm (scoped)

Given an array input, when this node is executed it will pass the “next” value of the array to the succeeding connected node(s).

Install

cd ~/.node-red && npm install --only=prod @tmus/node-red-contrib-array-iterator

Usage

Drag and Drop the "Array Iterator" onto the canvas. Set the Input value to the source array and the output value to the destination property. Optionally, you can enable Repeat to go back to the beginning of the array after the end is reached.

Example

The example iterates through the three items in the array then stops. To see it in action, import it into your Node-RED project.

Example of Array Iterator

Node Info

Version: 1.0.2
Updated 5 years, 5 months ago
License: Apache-2.0
Rating: 5.0 1

Categories

Actions

Rate:

Downloads

6 in the last week

Nodes

  • array-iterator

Keywords

  • node-red
  • Array Iterator
  • IoT
  • Internet of Things