Repository Public
1// Child process of the worker: reads one workbook, writes one JSON file, exits. Runs sandboxed with a bounded heap.2import { sheetChild } from './tools-sheet.ts';3const [input, output] = process.argv.slice(2);4if (!input || !output) { console.error('usage: sheet-child <input.xlsx> <output.json>'); process.exit(2); }5sheetChild(input, output).then(() => process.exit(0), (e) => { console.error(String(e?.message ?? e)); process.exit(1); });6