Skip to content

Core API Overview ​

These endpoints are exported by @acajoo/giovanni-core and represent the primary task-oriented API surface.

Import ​

ts
import {
    compressPdf,
    getAvailableCompressionEngines,
    initCompressionEngine,
    inspectPdf,
    checkPdf,
    splitPdf,
    mergePdfs,
    organizePdf,
    watermarkPdf,
    watermarkTextPdf,
    extractImages,
} from "@acajoo/giovanni-core";

Endpoints ​

Shared Input Type ​

Most endpoints accept Uint8Array | ArrayBuffer as PDF input.

ts
type PdfInput = Uint8Array | ArrayBuffer;

Runtime-Specific Endpoints ​

For runtime bridge contracts (React Native JSI and native C FFI), see: