kevoree-comp-nodered
v2.1.0
Published
This component is able to start a [Node-RED](http://nodered.org/) runtime. You can communicate with nodes inside your flows using the component input and output ports.
Maintainers
Readme
NodeRED - kevoree-comp-nodered
This component is able to start a Node-RED runtime.
You can communicate with nodes inside your flows using the component input and output ports.
Overview of the component in the Kevoree Web Editor

Dictionary attributes
Name | Optional | Type | Usage | Default value ------------- | ------------- | ------------- | ----------------------------------------------------------- | --------------- flows | true | string | this will be used to set your Node-RED flows (deploy full) | none httpAdminRoot | false | string | the root url for the Node-RED editor UI | "/" httpNodeRoot | false | string | the root url for nodes that provide HTTP endpoints | "/api" port | false | number | the port used by the Node-RED editor express server | 9090 userDir | false | string | the directory to store all user data | none
KevScript example
// this is the minimal example possible
add node0: JavascriptNode
add node0.nodeRED: NodeRED
set node0.nodeRED.userDir = '/tmp/nodered'