Installation
Usage
Create templates in the dashboard, then render them with data:Client options
Methods
| Method | Description | Returns |
|---|---|---|
render(slug, data, options?) | Synchronous render | Promise<Uint8Array | { url: string }> |
renderAsync(slug, data, options?) | Start async render job | Promise<{ jobId, status }> |
getJob(jobId) | Poll async job status | Promise<JobResult> |
merge(pdfs) | Merge multiple PDFs | Promise<Uint8Array> |
certify(pdf, options) | Certify a PDF with X.509 certificate | Promise<Uint8Array> |
redact(pdf, options) | Redact content from a PDF | Promise<Uint8Array> |
extract(pdf) | Extract embedded data | Promise<unknown | null> |