Skip to content

API reference ​

The pages under /reference/api/ are auto-generated from the TypeScript sources by TypeDoc — they reflect exactly what's exported from the package on every build.

If a symbol's name doesn't appear here, treat it as an internal detail not covered by the public API contract.

Entry points ​

SubpathSourceDescription
@nalinor/mupdf4llmsrc/index.tsMain API: toMarkdown, toMarkdownPages, types and helpers
@nalinor/mupdf4llm/llamasrc/llama/pdfMarkdownReader.tsLlamaIndex adapter (PDFMarkdownReader)

Generated index ​

The TypeDoc-built tree is at /reference/api/README — bun run docs:api regenerates it from typedoc.json.

For prose-style guides, see the guide section.

AGPL-3.0-or-later — inherited from PyMuPDF and pymupdf4llm.