pdf-text2
v2.0.4
Published
Extract an array of text chunks from a pdf and include additional metadata.
Downloads
9
Readme
pdf-text2
Refactor of pdf-text.
Extracts text from a PDF and returns an array of pages that each contains an array of text lines extracted from that page.
install
$ yarn add pdf-text2
use
const PDFText = require('pdf-text2');
var pathToPdf = __dirname + "/info.pdf"
const pdfText = new PDFText(pathToPdf);
const pages = pdfText.parse();