import fs, { PathLike } from 'node:fs'; export function readJsonSync< T extends Record >(p: PathLike): T { return JSON.parse(fs.readFileSync(p, 'utf8')) as T; }