1import { json1ParseCatch } from "../../sharedF/jsonF.mts"2import { read1File } from "./read1FileF.mts"3import type { absFileDirPath } from "../../ptDirF.mts"5export const readJsonIfExist = async (path: absFileDirPath) => {6 let contents: string7 try {9 } catch {10 return11 }12 return json1ParseCatch(contents)13}