(filePath: string)
| 6 | } |
| 7 | |
| 8 | export function readJson<T>(filePath: string) { |
| 9 | return Bun.file(filePath).json() as Promise<T> |
| 10 | } |
| 11 | |
| 12 | export async function writeText(filePath: string, content: string) { |
| 13 | await mkdir(path.dirname(filePath), { recursive: true }) |
no test coverage detected