(o)
| 105 | const index = extractAnchors(html, SPEC_URL) |
| 106 | writeFileSync(resolve(args.out), JSON.stringify(index, null, 2) + '\n', 'utf8') |
| 107 | const n = (o) => Object.keys(o).length |
| 108 | console.log( |
| 109 | ` anchors → ${args.out}: ${n(index.modules)} modules, ${n(index.types)} types, ` + |
| 110 | `${n(index.commands)} commands, ${n(index.events)} events`, |