type searchEngine = { index: number; name: string; keyword: string; multitab: boolean; url: string; show: boolean; base64?: string; // なくてもimportできる }; const text = await Deno.readTextFile(Deno.args[0]); const json = JSON.parse(text) as Record; console.log(JSON.stringify(Object.fromEntries(Object.entries(json).map(([key, value]) => { delete value.base64; return [key, value]; })), null, 2));