if (Bun.argv.length > 1) { if (Bun.argv[2] === "supports") { process.exit(0); } } const doc = await Bun.stdin.json(); // Bun.write("book.json", JSON.stringify(doc)); // TODO: Generate some kind of graph of pages? console.log(JSON.stringify(doc));