Core
tinysystems/js-module
v0.3.4Components
1 available- js_eval
JavaScript evaluation (ECMAScript 5.1 + ESM imports). Script must export a default function: export default function(inputData) { return { result: inputData.value * 2 }; }. The function receives inputData as its only argument; the return value becomes outputData on the response port. Context is NOT available inside the script — it passes through automatically from request to response. Define settings.inputData (example + schema of the script's argument) and settings.outputData (example + schema of the script's return) so the validator can check incoming and outgoing edges without running the flow.
Release notes
Tiny Systems JS Module
JavaScript evaluation engine for inline scripting within flows.
Components
| Component | Description |
|---|---|
| JS Eval | Execute JavaScript (ES5) with ESM module support over HTTP |
Installation
helm repo add tinysystems https://tiny-systems.github.io/module/
helm install js-module tinysystems/tinysystems-operator \
--set controllerManager.manager.image.repository=ghcr.io/tiny-systems/js-module
Run locally
go run cmd/main.go run --name=js-module --namespace=tinysystems --version=1.0.0
Part of Tiny Systems
This module is part of the Tiny Systems platform -- a visual flow-based automation engine running on Kubernetes.
License
This module's source code is MIT-licensed. It depends on the Tiny Systems Module SDK (BSL 1.1). See LICENSE for details.