{
  "source": "nodejs.js",
  "method": "execute",
  "input-schema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "script": {
        "type": "string",
        "label": "Script",
        "format": "multiline",
        "description": "Node.js code.",
        "default": "console.log(\"hello \", input.name); \ncallback(null, \"Any data\")",
        "formatOptions": {"type": "code", "mode":"node", "displayFormat": "node"},
        "required": true
      },
      "input": {
        "type": "object",
        "label": "Input",
        "default": {
            "name": "\"codeflow\""
        }
      },
      "outputSchema": {
        "type": "string",
        "description": "Specify a schema to define the result.",
        "format": "schemachooser"
      }
    }
  },
  "output-schema": {
      "type": "any",
      "dynamic": {
        "target": "outputSchema"
      }
  },
  "meta": {
    "name": "nodejs",
    "description": "Execute Node.js script",
    "icon": {
        "type": "fa",
        "name": "code",
        "color": "#444",
        "size": "12px"
    }
  }
}