Common Node-RED nodes
Below is a list of common Node-RED nodes, along with their functionalities:
| Node | Description |
|---|---|
| function | Allows to write custom JavaScript code to manipulate data passed through it. |
| debug | Displays message properties in the Debug sidebar. By default, it displays msg.payload but can be configured to display the entire message or any property. |
| catch | Catches errors thrown by nodes on the same tab. |
| http in | Listens to HTTP requests. |
| http response | Replies to HTTP requests. |
| mongodb in | Allows retrieving and manipulating data from a MongoDB collection. |
| mongodb out | Allows data to be stored, updated, or removed from a MongoDB collection. |
| write file | Writes msg.payload to a file, either by appending it to the end or replacing existing content. |
| read file | Reads the content of a file as a string or buffer object. |
