github simonbengtsson/jsPDF-AutoTable v3.5.0

latest releases: v3.8.4, v3.8.3, v3.8.2...
4 years ago

Added an exported autoTable method which can be used with typescript and alternative jsPDF version such as the yworks fork and the official nodejs dist files.

import jsPDF from 'jspdf'
// import jsPDF from 'yworks-pdf' using yworks fork
// import jsPDF from 'jspdf/dist/jspdf.node.debug' for nodejs support
import autoTable from 'jspdf-autotable'

const doc = new jsPDF()
autoTable(doc, { html: '#my-table' })
doc.save('table.pdf')

Don't miss a new jsPDF-AutoTable release

NewReleases is sending notifications on new releases.