diff options
Diffstat (limited to 'client-web/scripts/reformat_json.ts')
-rw-r--r-- | client-web/scripts/reformat_json.ts | 16 |
1 files changed, 0 insertions, 16 deletions
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)); -} - - |