2.1.0 • Published 4 months ago

@statuscompliance/logic v2.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

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

Repository

Find the source code and contribute on GitHub:

https://github.com/statuscompliance/node-red-status

1.1.1

5 months ago

1.1.0

5 months ago

2.1.0

4 months ago

2.0.0

5 months ago

1.1.2

5 months ago

1.0.2

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago