@statuscompliance/logic 1.0.0
Collection of components of the STATUS project containing logical operators and similar functions.
Node-RED Logic Functions for STATUS Project
Description
The @statuscompliance/logic
package offers a collection of logical operators and functions tailored for the STATUS project. These components allow for easy manipulation of boolean values, enabling logical operations such as AND, OR, and conditional checks within Node-RED flows.
Features
- Logical operations such as AND, OR, implies, and comparisons.
- Allows dynamic flow control and decision-making based on conditions.
- Seamless integration with Node-RED for developing robust logic-based workflows.
Installation
To install the package via npm, run:
npm install @statuscompliance/logic
Alternatively, add the dependency to your package.json
:
{
"dependencies": {
"@statuscompliance/logic": "^1.0.0"
}
}
Nodes Overview
This package includes the following logical nodes:
- and: Performs a logical AND operation between two boolean values.
- lesser-than: Compares two values and checks if the first is lesser than the second.
- implies: Evaluates logical implication between two boolean values.
- or: Performs a logical OR operation.
- if-else: Executes conditional checks and triggers different actions based on boolean conditions.
License
Licensed under the Apache-2.0 License.
Author and Contributors
- Author: Álvaro Bernal
- Contributor: Francisco Montero
Repository
Find the source code and contribute on GitHub: