Package Exports
- pdf.js-extract
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pdf.js-extract) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pdf.js-extract
extracts text from PDF files
This is just a library packaged out of the examples for usage of pdf.js with nodejs.
It reads a pdf file and exports all pages & texts with coordinates. This can be e.g. used to extract structured table data.
##Install
##Convenience API
var PDFExtract = require('pdf.js-extract').PDFExtract;
pdfExtract.extract(filename, {} /* options, currently nothing available*/, function (err, data) {
if (err) return console.log(err);
console.log(data);
});
##TODO
docu: utils for table parsing
tests
