The Node-RED Function node uses JavaScript. A quick google search for how to do that will reveal lots of answers, for example:
Nick
The Node-RED Function node uses JavaScript. A quick google search for how to do that will reveal lots of answers, for example:
Nick