Docs/OPF Toolkit
npm consumer proof

OPF toolkit packages on pptx.dev

This route imports @openpresentation/opf-render, @openpresentation/opf-editor, and @openpresentation/opf-pptx as installed npm packages. The proof below registers the default OPF catalog only — no hosted OpenPresentation runtime service and no workspace links.

Live proof status

ok
@openpresentation/opf-render@0.25.0ok

Rendered deterministic SVG from the registered default catalog.

slideCount
1
svgBytes
730
containsTitleText
true
@openpresentation/opf-editor@0.25.3ok

Applied JSON Patch edit and verified undo/redo on the sample deck.

validationValid
true
patchOperations
1
editedTitle
Updated title via @openpresentation/opf-editor
canUndo
true
undoRestoredTitle
true
redoRestoredTitle
true
@openpresentation/opf-pptx@0.25.0ok

Local-only runtime (hosted service in critical path, telemetry, commercial sdk in critical path disabled).

pptxBytes
75647
deterministicSeed
1
exportFunction
toPptx

Sample deck

Deterministic OPF document used for the proof. Core ships no catalog records, so the proof registers the default catalog (gallery from @openpresentation/gallery, source https://www.pptx.gallery) with the renderer, editor and exporter via their catalogs option — still fully local, no network fetch.

{
  "title": "OPF toolkit packages load from npm",
  "editedTitle": "Updated title via @openpresentation/opf-editor",
  "svgBytes": 730,
  "pptxBytes": 75647
}

Rendered SVG preview

Output from toSvg on the server.

OPF toolkit packages load from npm Render, edit, and export locally on pptx.dev

Install

pnpm
pnpm add @openpresentation/opf-render @openpresentation/opf-editor @openpresentation/opf-pptx