@fadoli/node-red-fast-running-stats 2.0.0

A node-red node for fast-running-stats

npm install @fadoli/node-red-fast-running-stats

node-red fast-running-stats

This is a node-red node for computing running (or rolling) statistics for each number in the msg.payload fields.

Requires node 14 or more recent.

Can be found on :

Performance and expected outputs

The purpose of this node is to allow high-performance compute of running/rolling statistics inside Node-Red.

Usage examples :

INPUT

{
    "payload": {
        "fieldA": 1,
        "fieldB": "string"
    }
}

OUTPUT

{
    "payload": {
        "fieldA": {"n":1,"min":1,"max":1,"sum":1,"mean":1,"variance":0,"standard_deviation":0},
        "fieldB": "string",
    }
}

Coverage

File Line % Branch % Funcs % Uncovered Lines
src\index.js 96.67 92.86 100.00 55-56

Node Info

Version: 2.0.0
Updated 4 months, 2 weeks ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

5 in the last week

Nodes

  • fast_stats

Keywords

  • node-red
  • stats
  • running stats
  • rolling stats
  • min
  • max
  • mean
  • average
  • standard deviation

Maintainers