Назад към всички

enact-hello-js

// A simple JavaScript greeting tool

$ git log --oneline --stat
stars:194
forks:37
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nameenact-hello-js
version1.0.2
descriptionA simple JavaScript greeting tool
fromnode:22-alpine
commandnode ./hello.js ${name}

Hello JS Tool

A simple example tool that demonstrates using JavaScript with Enact.

Usage

This tool takes an optional name parameter and returns a friendly greeting.

Examples

# Default greeting
enact run examples/hello-js
# Output: Hello, World! 👋

# Custom name
enact run examples/hello-js --input name=Alice
# Output: Hello, Alice! 👋