import { readFile } from 'node:fs/promises'; /** * Read and parse a JSON file */ export async function readJson(path: string): Promise { return JSON.parse(await readFile(path, 'utf8')); }