feat: add helloworl-bun.ts

This commit is contained in:
2026-01-04 19:42:00 +08:00
parent 6f07f2e37a
commit 3ccaa1198f
3 changed files with 19 additions and 0 deletions

6
helloworld-bun-ts/main.ts Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env runts -- --runtime-bun
console.log("Hello world via bun.");
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260104T194045+08:00.MEYCIQCGNf42Xr4xBJhJhFw0
// aqM99+LEPX4Zf30L2ZLVKam3tAIhANXz0Ok9WSJCwAYWOjMXYbx590qxWrNWWMJGsmLRsugZ

View File

@@ -25,6 +25,14 @@
"publish_time": 1737306227061,
"update_time": 1737650670435
},
"helloworld-bun.ts": {
"script_name": "helloworld-bun.ts",
"script_length": 237,
"script_sha256": "77b01c33ed5f361aaed7e9707b04e3787deee29cd41c7d45d38b77978173101a",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/helloworld-bun-ts/main.ts",
"publish_time": 1767526863149,
"update_time": 1767526863149
},
"helloworld.ts": {
"script_name": "helloworld.ts",
"script_length": 230,

View File

@@ -4,6 +4,11 @@
"script_length": 5917,
"script_sha256": "2b7efec1c473856e156bea9c8c9ce526c217138b8813b8706600808e895ce0f5"
},
"helloworld-bun-ts": {
"script_name": "helloworld-bun-ts",
"script_length": 237,
"script_sha256": "77b01c33ed5f361aaed7e9707b04e3787deee29cd41c7d45d38b77978173101a"
},
"helloworld-ts": {
"script_name": "helloworld-ts",
"script_length": 230,