_includes/code/manifest-for-helloJS-2.yaml (
10
lines of code) (
raw
):
packages: default: actions: helloJS: code: | function main(args) { const name = args && args.name || "stranger"; return { greeting: `Hello ${name}!` }; } runtime: nodejs:10