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 = ; var pathToPdf = __dirname + "/info.pdf" const pdfText = pathToPdf; const pages = pdfText;