Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-prib-functions

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-prib-functions

Node-RED added node functions.

  • 0.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
139
decreased by-14.72%
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-prib-functions

Node-Red nodes for various functions:

  • Data Analysis
  • Test
  • Load Injector
  • Monitor Fow
  • append

Data Analysis

A set of data analysis functions that can be run over an array of data

Single value metrics:

  • Average
  • Maximum
  • Median
  • Minimun
  • Range
  • Standard Deviation
  • Skewness
  • Sum
  • Variance

Array metrics:

  • Deltas
  • Deltas Normalised
  • Moving Average Simple (SMA)
  • Moving Average Cumulative (CMA)
  • Moving Average Weighted (WMA)
  • Moving Average Exponential (EMA/EWMA)
  • Normalise
  • Standardization (Z-score Normalization)

Data Analysis

example:

Data Analysis example


Test

Allows a test case for a message to allow simple testing of nodes. Injects a new message via mouse or message.cMessage sent to first port which can be consumed by other nodes and returned back to node in a loop. The Test node then checks against detailed expected payload result.

Test

example:

Test example


append

Append file(s) to payload. Cached to maximise performance. Require can be used to find file.

append

Test example:

append example


Load Injector

Inject messages for a set period of time with varying think time. Primary purpose is testing and useful for load/stress testing.

Load Injector

Test example:

Load Injector example


Monitor Flow

Add on wire between two flows to see message rates in status line. Rate sampled every second and provides rate last second / 10 seconds / 1 minute / 5 minutes.

Monitor Flow

Test example:

Monitor Flow example


Install

Run the following command in the root directory of your Node-RED install

npm install node-red-contrib-prib-functions

Tests

Test/example flow in test/generalTest.json


Version

0.4.0 Add test, monitor flow, data analysis

0.0.1 base

Author

Peter Prib

Keywords

FAQs

Package last updated on 15 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc