API reference
Every exported symbol of every package — 766 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.
Foundation
Knows nothing about any particular format.
@apertura/core
Byte sources, format detection, the plugin registry and the shared document model.
41 exports
@apertura/render
Measurement units, colours, DOM helpers, the stylesheet builder and text metrics.
68 exports
@apertura/ooxml
ZIP reader, streaming XML pull parser, OPC package and relationship resolution.
109 exports
Formats
A parser that knows no DOM, and a renderer that knows no file.
@apertura/docx
WordprocessingML parser, style resolver and numbering engine.
163 exports
@apertura/docx-view
Pagination engine, page virtualiser, CSS generator and DOM renderer for Word.
35 exports
@apertura/xlsx
SpreadsheetML parser, the number-format grammar and the style table.
111 exports
@apertura/xlsx-view
Two-axis virtualised grid renderer for Excel workbooks.
24 exports
@apertura/pptx
PresentationML parser: the master → layout → slide chain, shapes and theme.
31 exports
@apertura/pptx-view
DOM renderer for presentations, drawing slides on a fixed canvas.
4 exports
@apertura/formula
The Excel formula language: lexer, parser, evaluator and function library.
69 exports
@apertura/chart
DrawingML charts — one implementation shared by all three formats.
56 exports
Integration
One dependency for an application that just needs to open a file.
@apertura/viewer
The format-agnostic facade: detects the format, parses the file and mounts a view.
31 exports
@apertura/react
React bindings: the useApertura hook and a DocumentViewer component.
8 exports
@apertura/vue
Vue bindings for the same viewer.
9 exports
@apertura/angular
Angular bindings for the same viewer.
7 exports