Function: renderPdf()
renderPdf(
html,data?,opts?):Promise<Uint8Array<ArrayBufferLike>>
Defined in: packages/vellora/src/render.ts:151
Render document HTML to a complete PDF.
Parameters
html
document content (string | Uint8Array | Readable), never a file path.
data?
optional templating data.
opts?
RenderOptions = {}
optional render options (strict defaults to true).
Returns
Promise<Uint8Array<ArrayBufferLike>>