2.0.4 • Published 4 years ago
pdf-text2 v2.0.4
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();