Skip to content

Utility Nodes for Node-RED

@rosepetal/node-red-contrib-utils provides 9 utility nodes for array assembly, message queueing, rate limiting, file saving, promise aggregation, safe debugging, and event loop monitoring.

Installation

bash
cd ~/.node-red
npm install @rosepetal/node-red-contrib-utils

Or search @rosepetal/node-red-contrib-utils in the Node-RED Palette Manager.

Requirements

  • Node.js >= 16
  • Node-RED >= 1.0.0
  • sharp native addon (fetched via npm)

Nodes

All node types are prefixed with rp- and appear under the RP Utils category in the editor.

I/O and Array Tools

NodePurpose
rp-array-inTag incoming data with a position index for ordered array assembly
rp-array-outCollect indexed data into ordered arrays with timeout handling
rp-array-selectSelect array elements using index and slice syntax
rp-queueBuffer messages, enforce output intervals, drop stale or overflow items
rp-save-fileSave payloads to disk as image (JPEG, PNG, WebP, BMP), JSON, text, or binary
rp-rate-limitEnforce minimum interval between outputs based on external timestamps

Async and Workflow

NodePurpose
rp-promise-readerResolve arrays of promises, merge results, and record timing

Utilities

NodePurpose
rp-clean-debugDebug output that sanitizes large payloads to keep the sidebar responsive
rp-block-detectEvent loop delay watchdog with live status and log warnings