pdf-table-extractor-forked
v1.0.2
Published
Extract tables from PDF file
Downloads
11
Readme
pdf-table-extractor
Extractor tables from PDF
Web DEMO: https://ronnywang.github.io/pdf-table-extractor/
Forked from https://www.npmjs.com/package/pdf-table-extractor
Install
npm i pdf-table-extractor-forked
Example
test.js
var pdf_table_extractor = require("pdf-table-extractor-forked");
//PDF parsed
function success(result)
{
console.log(JSON.stringify(result));
}
//Error
function error(err)
{
console.error('Error: ' + err);
}
var buffer = fs.readFileSync('test.pdf');
pdf_table_extractor(buffer,success,error);
node test.js