JSONata message transformation.
npm install node-red-contrib-transform
npm install node-red-contrib-transform
`
$3
Just enter the template as a valid JSONata expression and enjoy the transformation.
#### Template example:
`javascript
{
"topic": topic & "_ceil",
"payload": $ceil(payload)
}
`
#### Multiple outputs/messages supported as well:
`javascript
[
[
{
"payload": "first out of output 1"
},
{
"payload": "second out of output 1"
}
],
{
"payload": "only message from output 2"
}
]
``