JavaScript
script.javascript Utility v0.1.0 Runs custom JavaScript with niner.emit, niner.kv, and niner.log helpers.
Ports
| Direction | Port | Label |
|---|---|---|
| Input | input | JSON |
| Output | output | Output |
Output handles come from the node's `outputs` config; with no outputs configured there is a single `output` handle.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
Codecode | code | "return input;" | JavaScript run per item: receives (input, context, niner) and returns the output. |
Output portsoutputs | json | ["output"] | List of output port names the script can emit to. |
This page is generated from the node registry by gen-node-docs.mjs on every
site build — ports, properties, defaults and visibility rules cannot drift from the code.