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

1.0.2 • Public • Published

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 % Lines Uncovered Line #s
All files 100 100 100 100
index.js 100 100 100 100

Package Sidebar

Install

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

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

6.48 kB

Total Files

5

Last publish

Collaborators

  • fadoli