Script Examples

Good morning, I'm new to the world of node-red, I come from back-end programming with .netCore. I saw that inside node, you can use functions, so I would like to ask for tutorials, handouts, example scripts. Apparently the font is very similar to JavaScript, but I'd like to see more in depth on the subject.
Thanks.

The code in a function node is JavaScript. A function node is used when you can’t find an existing node that will do what you want.

I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

It is Javascript and here is some info on creating functions
https://nodered.org/docs/user-guide/writing-functions

There’s a typo on that page. I’m assuming they meant “arbitrary”

1 Like

An excellent first pull request

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.