npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@brobridge/atomic-flowcontrol

v0.0.4

Published

Flow Control Module for Brobridge Atomic

Readme

Atomic Flow Control

Node.js Node-RED License

A powerful Node-RED module for managing data flows in Brobridge Atomic applications. This module allows you to pause and resume the processing of large datasets in a controlled manner, optimizing performance and reducing memory consumption. Compatible with any node that supports the flow control interface.

Features

  • Stream Control: Pause and resume data streams from flow controllable nodes
  • Multiple Sessions: Handle multiple processing sessions independently
  • Performance Optimization: Reduce memory usage when working with large datasets
  • Flexible Targeting: Target nodes automatically or specify exact nodes to control

Installation

npm install @brobridge/atomic-flowcontrol

Or install directly from the Node-RED interface:

  1. Open your Node-RED instance
  2. Navigate to the menu → Manage palette
  3. Select the "Install" tab
  4. Search for "@brobridge/atomic-flowcontrol"
  5. Click install

Usage

The Flow Control node is designed to work with any node that has the flowControllable property set to true. Typically, these are nodes that handle streaming data or long-running operations. The module provides two main actions:

Continue Action

Resumes processing of paused data streams.

  1. Drag the "Flow Control" node from the function category to your flow
  2. Set the Action to "Continue"
  3. Configure target node selection (Auto or Specific)
  4. Connect to your flow at the point where you want to resume processing

Break Action

Stops processing a stream and releases associated resources.

  1. Drag the "Flow Control" node from the function category to your flow
  2. Set the Action to "Break"
  3. Configure target node selection (Auto or Specific)
  4. Connect to your flow at the point where you want to stop processing

Configuration

Target Node Selection

You can configure how the Flow Control node selects its target:

  • Auto Select: Automatically identifies target nodes based on session ID
  • Specific Nodes: Manually select which nodes to control

Message Format

The input message to the Flow Control node should contain a sessions array:

{
  sessions: ["nodeId-sessionId", "nodeId-sessionId", ...],
  // Optional
  selectMode: "auto" // Override the node's configured selection mode
}

Example Flow

[
  {
    "id": "source-node",
    "type": "Stream Source",
    "name": "Generate Large Dataset",
    "flowControllable": true,
    "wires": [
      ["process-node"]
    ]
  },
  {
    "id": "process-node",
    "type": "function",
    "name": "Process Batch",
    "func": "// Processing logic\nreturn msg;",
    "wires": [
      ["flow-control"]
    ]
  },
  {
    "id": "flow-control",
    "type": "Flow Control",
    "name": "Continue Processing",
    "action": "continue",
    "selectMode": "auto",
    "wires": []
  }
]

Compatibility

  • Requires Node.js 18 or later
  • Requires Node-RED 2.0.0 or later
  • Compatible with any node that implements the flow control interface (has the flowControllable property)
  • Designed for use with Brobridge Atomic platform

Development

# Clone the repository
git clone https://github.com/BrobridgeOrg/atomic-flowcontrol.git

# Install dependencies
cd atomic-flowcontrol
npm install

# Test (when tests are available)
npm test

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Author

Fred Chien [email protected]

Support

For issues and feature requests, please file an issue on GitHub.