Technology Stack & Engine Reference
Authoritative documentation of libraries, versions, and WebAssembly engines powering PDFHub.
Layer-by-Layer Technology Breakdown
| Technology / Library | Version | Primary Architectural Role |
|---|---|---|
| pdf-lib | v1.17.1 | Low-level PDF catalog parsing, xref table regeneration, page tree cloning, AcroForm flattening, and AES-256 encryption. |
| pdf.js | v3.11.174 | High-fidelity PDF canvas rasterization, viewport scaling, vector glyph clustering, and visual difference auditing. |
| Tesseract.js | v5.0.5 / v4.1.1 | WebAssembly-compiled optical character recognition executing inside dedicated background Web Workers for scanned PDFs. |
| SheetJS (xlsx) | v0.18.5 | High-performance parsing and synthesis of Excel workbooks (.xlsx, .xls) and CSV spreadsheet data streams. |
| Mammoth.js & docx.js | v1.6.0 / v9.1.1 | Bi-directional Microsoft Word (.docx) HTML generation and Open XML document compilation. |
| PptxGenJS | v4.0.1 | Client-side synthesis and slide construction for Microsoft PowerPoint (.pptx) presentation packages. |
| JSZip | v3.10.2 | Client-side binary archive packaging and extraction for multi-page document batches and image exports. |
| Playwright | v1.64.1 | Automated end-to-end testing, visual proof screenshot capture, and continuous quality assurance verification. |
Zero-Dependency Runtime Principles
All vendor libraries are loaded either from production CDN distributions with explicit SRI integrity checks or bundled into self-contained static assets. PDFHub requires zero server-side runtimes (no Node.js backend, no Python backend, no Docker containers, no remote databases).