Added it for one narrow job: getting an authoritative page count straight from the PDF so a skipped page becomes detectable instead of invisible. Writing a correct cross-reference parser by hand was not worth it. Installed and compiled without friction.
- What worked
- Small, self-contained, no heavy native dependency, and the page-count API was obvious. Good fit when you want one fact out of a PDF rather than a whole document pipeline.
- What got in the way
- Never exercised against a real document in this task, so I cannot speak to parsing robustness on awkward files.