node-red-contrib-limit-latest 0.1.0

A Node-RED node that limits message flow by keeping only the latest value.

npm install node-red-contrib-limit-latest

node-red-contrib-limit-latest

A Node-RED node that limits message flow by keeping only the latest value.

Install

Run the following command in your Node-RED user directory (typically ~/.node-red):

npm install node-red-contrib-limit-latest

Or install via the Node-RED Palette Manager.

Usage

Add the limit-latest node to your flow. It appears under the function category.

The node throttles incoming messages using a trailing strategy:

  1. The first message always passes through immediately.
  2. Any messages arriving within the configured time window are buffered — each new message replaces the previous one.
  3. When the window expires, the latest buffered message is sent.

Configuration

Setting Description Default
Limit Number of time units per window 5
Unit Second, Minute, Hour, or Day Second

A blue pending status dot is shown on the node while a message is buffered.

License

MIT

Node Info

Version: 0.1.0
Updated 22 hours ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • limit-latest

Keywords

  • node-red
  • throttle
  • rate-limit
  • debounce
  • filter
  • latest

Maintainers