➕ Add metadata entry for new script trim.ts in script-meta-v2.json and introduce single-scripts/trim.ts file
This commit is contained in:
10
single-scripts/trim.ts
Executable file
10
single-scripts/trim.ts
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env runts -- --allow-all
|
||||
|
||||
import { stdinToArrayBuffer } from "https://script.hatter.ink/@61/deno-commons-mod.ts";
|
||||
|
||||
const input = new TextDecoder().decode(await stdinToArrayBuffer());
|
||||
|
||||
console.log(input.trim());
|
||||
|
||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260406T011018+08:00.MEQCICGZsgnG2bowizRaqJcD
|
||||
// pAguPjyV9zam3gadSDF9MqUwAiANMI4ruImBUecq8S4nZ71BKPGg4BdDb2NZMzVPWFClHg==
|
||||
Reference in New Issue
Block a user