Skip to main content
Static class. No constructor; call LibreOffice.convert(options).

convert(options)

Returns Promise<Buffer>. Supported input formats are listed in Gotenberg’s LibreOffice route docs. Each files entry is either a path string or { data, ext } for in-memory content. See Types for ConvertSplit, EmbedsMetadata, FacturXOptions, PdfEnginePermissions, and other shared types.