Skip to main content

Function: generatePDF()

generatePDF(options): Promise<string>

Defined in: lib/media/pdf.ts:25

Generates a PDF file from the provided HTML content.

Parameters

options

PDFGenerationOptions

The options for generating the PDF.

Returns

Promise<string>

A promise that resolves to the file path of the generated PDF.