From c351f8814e6eac16fef501b66f83ffde19cb4dd8 Mon Sep 17 00:00:00 2001 From: Jason Klotzer Date: Fri, 7 Feb 2025 16:12:26 -0600 Subject: [PATCH] refactor: output unformatted JSON in CLI --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cdacb91..0dd4d9b 100755 --- a/index.js +++ b/index.js @@ -38,7 +38,7 @@ program const { dicomParserOptions, jsonOutputOptions } = config.get(); const reader = new DicomFile(fileUrl, dicomParserOptions); const json = reader.toJson(jsonOutputOptions); - console.log(JSON.stringify(json, "", 2)); + console.log(JSON.stringify(json)); }); program