API reference
Every exported symbol of every package — 1712 of them — read out of the TypeScript source rather than written alongside it.
Generated, not written
Hand-written reference documentation drifts from the code within a release or two, and nobody notices until a reader does. This is produced by the TypeScript compiler from each package’s public entry point, so it cannot claim an export that does not exist or miss one that was added.
Umbrella
One dependency for an application that does not know what it will be handed.
Foundation
Installed for you, never named by an application.
@genomdev/core
What any format needs: byte sources, ZIP, streaming XML, detection, the registry, addressing, the content model, the drawing kit and the viewer.
390 exports · 6 entry points
@genomdev/office-core
What only Word, Excel and PowerPoint need: OPC, DrawingML, Office Art, the OLE2 compound file and the Excel formula language.
327 exports · 6 entry points
Formats
One package per format, covering both its generations. The renderer is `/view`.
@genomdev/docx
Word, both generations. WordprocessingML and the 97-2003 binary format read into one model, the pagination engine, and the content adapter.
470 exports · 2 entry points
@genomdev/xlsx
Excel, both generations. SpreadsheetML and BIFF read into one model, the two-axis virtualised grid, and the content adapter.
194 exports · 2 entry points
@genomdev/pptx
PowerPoint, both generations. PresentationML and the 97-2003 record stream read into one model, the slide renderer, and the content adapter.
98 exports · 2 entry points
@genomdev/pdf
PDF: the object model, the text recovery that turns glyphs at coordinates back into reading order, and the page renderer.
120 exports · 2 entry points
Integration
A wrapper per framework, depending on no format at all.
@genomdev/react
React bindings: the useViewer hook and a DocumentViewer component.
15 exports · 1 entry points
@genomdev/vue
Vue bindings for the same viewer.
13 exports · 1 entry points
@genomdev/angular
Angular bindings for the same viewer, published by ng-packagr in partial-Ivy form.
11 exports · 1 entry points