
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
node-red-contrib-cyclic-counter
Advanced tools
A Node-RED node that acts as a cyclic counter with an optional reset delay
A customizable cyclic counter node for Node-RED that iterates through a defined sequence of numbers and can reset after a set timeout. It allows flexible control over the counter's behavior, making it useful in a variety of automation scenarios.
1
to a maximum value.To install this node, you can clone it into your Node-RED node directory or install it directly from npm:
npm install node-red-contrib-cyclic-counter
Then restart Node-RED, and the cyclic counter will be available in the function category.
Here’s an example flow to get started:
[
{
"id": "example",
"type": "cyclic_counter",
"z": "your-flow-id",
"name": "My Cyclic Counter",
"maxCount": 5,
"timeoutDuration": 30,
"timeoutUnit": "s",
"outputProperty": "payload",
"wires": [["debug_node_id"]]
}
]
This configuration will increment the counter from 1 to 5, reset it after 30 seconds of inactivity, and extend the timeout on each new input.
MIT
FAQs
A Node-RED node that acts as a cyclic counter with an optional reset delay
We found that node-red-contrib-cyclic-counter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.