(path: URL)
| 2 | import archivedSyntaxPkgs from "./archived-syntax-pkgs.json" with { type: "json" }; |
| 3 | |
| 4 | function importJSON(path: URL) { |
| 5 | return JSON.parse(fs.readFileSync(path, "utf8")); |
| 6 | } |
| 7 | |
| 8 | function maybeWriteFile(url: URL, contents: string) { |
| 9 | try { |