11 lines
448 B
TypeScript
Executable File
11 lines
448 B
TypeScript
Executable File
#!/usr/bin/env -S deno run --allow-env
|
|
|
|
import hjson from "npm:hjson";
|
|
import { toArrayBuffer } from "https://deno.land/std@0.203.0/streams/mod.ts";
|
|
|
|
const input = new TextDecoder().decode(await toArrayBuffer(Deno.stdin.readable));
|
|
|
|
console.log(JSON.stringify(hjson.parse(input), null, 4));
|
|
|
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000910+08:00.MEUCIB8ENXcX7NdIgRF+BN5k4m6MSBfMfsk3pzDckQLyfSquAiEApzgXor3U0PmkNzcNS0kFz8WxRQhidQpPZbSpy1hbAOA=
|