JavaScript

script.javascript Utility v0.1.0

Runs custom JavaScript with niner.emit, niner.kv, and niner.log helpers.

Ports

DirectionPortLabel
InputinputJSON
OutputoutputOutput

Output handles come from the node's `outputs` config; with no outputs configured there is a single `output` handle.

Properties

PropertyTypeDefaultDescription
Code
code
code "return input;" JavaScript run per item: receives (input, context, niner) and returns the output.
Output ports
outputs
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.