Home >Web Front-end >Front-end Q&A >What is node.red
node.red refers to Node-RED, a flow-based low-code programming tool for connecting hardware devices, APIs and online services in new and interesting ways; it provides a browser-based Streamer's editor makes it easy to connect flows together using various nodes in the editing panel and deploy them to their runtime with just a click.
The operating environment of this tutorial: Windows 7 system, node version 18.4.0, Dell G3 computer.
What is node.red?
Node-RED, a flow-based low-code programming tool
The author recently discovered a very interesting tool when browsing the github
community—— Node-RED, the official website is very concise. Next, I will introduce the tool and how to use it.
Node-RED is a programming tool. Used to connect hardware devices, API and online services together in new and interesting ways.
It provides a browser-based editor that makes it easy to connect flows together using various nodes in the editing panel and deploy them to their runtime with a single click. The interface is as follows:
Node-RED can be found in Install it locally, and access its visual orchestration interface through a browser. Secondly, we can also use the rich text editor to create JavaScript
functions in the editor. The built-in library also allows us to save useful functions, templates or processes. for reuse. As follows:
Lightweight runtime based on Node. js
is built to take full advantage of the event-driven non-blocking model. This makes it ideal for running at the edge of the network on low-cost hardware such as the Raspberry Pi, as well as in the cloud. [Recommended learning: nodejs video tutorial
] There are more than 225,000 modules in
Node
’s package repository, which can easily expand panel nodes scope to add new functionality. Community Sharing
Streams created in
Node-RED are stored using JSON
and can be easily imported and export to share with others. The online process library allows us to share our best processes with the world. Installation and use
is also very simple. The author will introduce the basic installation method here.We need to first Install
globally on your computer. You can download it on the official website. Secondly, we enter the following command to download Node-RED
:<pre class="brush:php;toolbar:false">sudo npm install -g --unsafe-perm node-red</pre>
If the following interface appears, it means it has been installed. Success.
Finally execute:
node-red
to start the
Node-RED service, we enter the terminal print in the browser The following address can be accessed and used:
The interface after running is as follows:
The above is the detailed content of What is node.red. For more information, please follow other related articles on the PHP Chinese website!