Install the library, import the create table function, then print!
Pages can start with or without headers. Table demensions are returned facilitating dynamic footers to fill space
Pdf-Lib-Table has no external dependances and can print hundreds of pages with ease
Easy to get going, but enough customization to grow with your project
import { createPDFTables } from 'pdf-lib-table';//TABLE SETTINGSconst pdfSettings = { data, columns, pdfDoc});const tables = await createPDFTables( data page pdfDoc columnDefs StandardFonts rgb {pdfSettings});tables.drawVerticalTables();