Code Monkey home page Code Monkey logo

node-red-utils-nodes's Introduction

Node-Red-utils-nodes

This package provides two custom nodes for Node-RED.

Nodes

any_split

Splits the input message based on any specified property, not limited to msg.payload.

custom_diff

Compares two lists and returns the differences between them. It takes two input lists:

  • listA: List of current state (Users we would like to have on the destination group we create).
  • listB: List of destination group.

This node returns two lists as outputs:

  • create: Contains all users that are in listA but not in listB, indicating that they need to be created on the destination platform.
  • remove: Contains all users that are in listB but not in listA, indicating that they need to be deleted from the destination platform.

Both create and remove lists will be available as properties (msg.create and msg.remove) in the node's output message.

Usage

  1. Install the Node-Red-utils-nodes package using npm: npm i node-red-utils-nodes

  2. In your Node-RED flow, you will find the any_split and custom_diff nodes under the "Authomize utils" category in the Node-RED palette.

  3. Drag and drop the desired node into your flow and configure its properties as required.

  4. Connect the input and output nodes to complete your flow.

Contributing

Contributions, bug reports, and feature requests are welcome!

License

This project is licensed under the MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.