From 5d4cb7864dc3ca19669877def6c298eb96d19b16 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 22 Mar 2025 14:27:25 +0100 Subject: new translation system --- client-web/scripts/reformat_json.ts | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 client-web/scripts/reformat_json.ts (limited to 'client-web/scripts/reformat_json.ts') diff --git a/client-web/scripts/reformat_json.ts b/client-web/scripts/reformat_json.ts deleted file mode 100644 index 35fc1dd..0000000 --- a/client-web/scripts/reformat_json.ts +++ /dev/null @@ -1,16 +0,0 @@ - - - - -const decoder = new TextDecoder(); -let text = "" -for await (const chunk of Deno.stdin.readable) { - text += decoder.decode(chunk); -} - -for (const ob of text.split("\n")) { - if (!ob.length) continue - console.log(JSON.stringify(JSON.parse(ob), null, 4)); -} - - -- cgit v1.2.3-70-g09d2