2.0.2 • Published 11 months ago

autana-jsonata-transform v2.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

autana-jsonata-transform

Use the power of JSONata to easily transform Node-RED messages.

Installation:

npm install autana-jsonata-transform

Usage:

Just enter the template as a valid JSONata expression and enjoy the transformation.

This node can receive the template from:

  • static: template field value from node configuration
  • dynamic: from msg.template

Template example:

{
    "topic": topic & "_ceil",
    "payload": $ceil(payload)
}

Output:

By default the transformation result is saved in msg.payload. But you can decide the field, and inclusive use flow or global context instead.

2.0.2

11 months ago

2.0.1

11 months ago

2.0.0

11 months ago