Section Modules Description
Syntax pdfTokenizer, pdfParser, pdfXref, pdfTrailer ISO 32000-2 §7.2–§7.5 — binary layer.
Document pdfCatalog, pdfPages, pdfPage, pdfDocument, pdfResources, pdfWriter, pdfBuilder, pdfIncrementalWriter, pdfEncryptedWriter, pdfXrefStreamWriter §7.7 / §7.8.3 — typed document layer.
Content pdfContentOps, pdfContentStream, pdfGraphics, pdfText, pdfColor, pdfImages §7.8 / §8 / §9.3–§9.4 — content streams.
Font pdfFont, pdfFontEncoding, pdfType3, pdfFontEmbed §9.6 / §9.7 / §9.9 — fonts.
Form pdfAcroForm, pdfFieldTree, pdfButtonField, pdfTextField, pdfChoiceField, pdfSignatureField, pdfAppearance §12.7 / §12.5.5 — interactive forms.
Annot pdfAnnot, pdfTextAnnot, pdfLinkAnnot, pdfMarkupAnnot, pdfShapeAnnot, pdfFreeTextAnnot, pdfInkAnnot, pdfStampAnnot, pdfFileAttachAnnot, pdfWidgetAnnot, pdfPopupAnnot, pdfProjectionAnnot, pdfRedactAnnot §12.5 — annotations.
Tagged pdfStructTree, pdfStructElement, pdfRoleMap, pdfParentTree, pdfClassMap, pdfMarkedContent §14.6 / §14.7 / §14.8 — Tagged PDF, PDF/UA-2.
Crypto pdfSecurity, pdfStandardV4, pdfStandardV5, pdfStandardV6, pdfPermissions, pdfAesGcm §7.6 + ISO TS 32003 — encryption.
Sig pdfSignature, pdfSign, pdfByteRange, pdfTimestamp, pdfCertChain, pdfDssBuilder, pdfSigOids, pdfSha1 §12.8 + ISO TS 32001/32002 — signatures.
OCG pdfOCG, pdfOCConfig §8.11 — optional content.
Outline pdfOutline §12.3.3 — bookmarks.
Destination pdfDestination §12.3.2.
Action pdfAction, pdfActionGoTo, pdfActionUri, pdfActionNamed, pdfActionLaunch §12.6 — actions.
Embedded pdfFileSpec, pdfEmbeddedFile, pdfCollection §7.11 — attachments.
Linearization pdfLinearization Annex F — Fast Web View.
Metadata pdfInfo, pdfXmp §14.3 — metadata.
Prepress pdfOutputIntent, pdfPageBoundary §14.11 — prepress.
Associated Files pdfAssociatedFiles PDF 2.0 / PDF20_AN002-AF.
Extras 32 opt-in modules (P0/P1/P2/P3/legacy) L3+ coverage — color fonts, CID, full ExtGState, PAdES, AES-GCM, PDF/A, PDF/X, PDF/UA, WTPDF, 3D, JBIG2, legacy XFA, RC4, LZW…
Bundles pdf-large, pdf-full, pdf-legacy Pre-wired factories combining core + extras.

Top-level

Module Source Description
pdf src/pdf.js Public orchestrator, .use() hook.
pdfErrors src/errors.js PdfError hierarchy.
pdfShared src/_shared/index.js Byte-level constants and stateless helpers.
main (re-export) src/main.js See main.

See also