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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@autocodingsystems/node-red-utils

v1.2.1

Published

Utility nodes for handling ACS Gateways and workflows

Downloads

3

Readme

ACS Node Red Utils

Utility nodes for making workflows using the ACS Gateway

Nodes available

Gateway

Gateway nodes allow specific actions to be taken on an ACS Gateway.

  • gateway-device-resolve find a named device across multiple gateways
  • gateway-device-update sends a job to a device
  • gateway-device-clear clear the job from a device
  • gateway-event receive events from a gateway

Flow

A "flow" is a controlled sequence for always running processes.

Messages originate from a begin node and flow towards an end node. Once reached, a new message will be emitted from the begin node, making a never ending sequence of messages. A new message will not be emitted from begin until the previous message has hit an end, meaning there is only ever a single message in the flow.

If a flow message is split between 2 or more paths, the first message to hit an end node invalidates all other messages originating from the original begin message.

A message that has been invalidated will not pass through an inactive node, so you can kill dead messages before they take any action by ensuring the action is guarded by these nodes.

Flow messages can be trapped in a trap node and released at a later date by specially crafted release messages or http requests. A trapped message will be immediately destroyed if a sibling flow message hits an end node. A trap node can only hold one message at a time.

  • begin signals the start of message flow.
  • end terminates the current message flow and starts a new one.
  • isactive only passes messages that are part of an active message flow.
  • trap hold on to a message until it is released or until the flow is ended.
  • route send flow messages to one output or the other - is toggled by sending control messages to the node.

Miscellany

General nodes for handling common situations

  • array-split a simplified version of the split node that only supports arrays and has a dedicated "empty" output so that the associated array-join node can be triggered correctly even if there are no items in the array.
  • array-join wait for all the messages from the previous array-split to arrive, collate their payloads and carry on processing. Also wire the "empty" output from the array-split to the input to carry on processing if the array was empty.