1.0.2 • Published 2 years ago

@fadoli/node-red-fast-running-stats v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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% Stmts% Branch% Funcs% LinesUncovered Line #s
All files100100100100
index.js100100100100