Handlebar style template filler
[string/Handlebar style template filler]
Substitutes parameters into a template. Parameters are marked by Handlebars style tokens. Example:
"Hello {{subject}}!"@0 is received via
template
{"subject":"world"}@0 is received via params
"Hello world!"@0 is sent via
filled
Input ports
template:
string
Receives the template string to replace parameters in. Example: "Hello {{subject}}!"
params:
{string: any}
Receives the parameters to replace in the template. Example: {"subject":"world"}
Output ports
filled:
string
Sends the template string with replaced parameters. Example: "Hello world!"
error:
{"error": string}
Sends error in case any occurs during operation. Example: {"error": "Some error message"}
Last updated