npm / pdf-parse
pdf-parse
What changed in pdf-parse 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
3 breaking3 new APIs and options2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpdf-parse 28 changes
Breaking changes 3
Browser builds must now set the background web worker explicitly.
The return type of getTable() changed.
Worker configuration is no longer needed for browser builds.
New APIs and options 3
A command-line interface was added for quick PDF processing.
CDN URLs now use pdf-parse/node instead of pdf-parse/utils.
A new utils API was implemented.
Fixes and other changes 2
Exception handling was added.
A TypeScript type issue was addressed.