TPTruPDF

API reference

Every TruPDF package is published under the @trupdf/* scope. The rolled-up bundle @trupdf/viewer re-exports every public surface below — typical hosts only add one dependency.

Core surfaces

  • @trupdf/sdk — framework-agnostic entry point, EventBus, plugin API.
  • @trupdf/core — viewer engine + UI components.
  • @trupdf/annotations — annotation engine, XFDF, the interactive annotation canvas, tools.
  • @trupdf/forms — AcroForm / static XFA, FDF / XFDF data, sandboxed JS engine.

Viewing & 3D

  • @trupdf/threed — 3D annotation detection (U3D / PRC) + poster rendering.

Services

Sensitive ops

Editing & AI

Cross-cutting

Framework wrappers