npm.io
2.0.4 • Published 6 years ago

pdf-text2

Licence
MIT
Version
2.0.4
Deps
3
Size
17 kB
Vulns
5
Weekly
0

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();

Keywords