When I read this doc node-red API.mdI have several questions:
common utilities for the Node-RED runtime and editor moduleswhether
editor modules
means@node-red/editor-client
and@node-red/editor-api
? whetherNode-RED editor
=@node-red/editor-client
+@node-red/editor-api
?
- what’s the function of
@node-red/registry
?
@node-red/nodes
the default set of core nodes. This module only contains the Node-RED nodes - it does not expose any APIs.why there says it does not expose any APIs.
?
Node-RED consists of 6 node modules under the @node-red
scope, which are pulled together
by the top-level node-red
module. The typical scenario is where you are embedding Node-RED into your
own application, in which case you would use the node-red
module rather than any of the
internal modules directly.
let RED = require("node-red");