pdf2table is a node.js library that attempts to extract tables from a pdf.
The 'tables' are extracted as an array of rows.
It uses pdf2json to extract the pdf data.
You can install pdf2table using the Node Package Manager (npm):
npm install pdf2table
var pdf2table = ;var fs = ;fs;
Note that this is a simplistic implementation to extract tables. If your pdf contains other stuff that's not a table, pdf2table will still attempt to shape this data into a row. Feel free to improve and send pull requests.