pdf-text2
TypeScript icon, indicating that this package has built-in type declarations

2.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i pdf-text2

Weekly Downloads

3

Version

2.0.4

License

MIT

Unpacked Size

17.6 kB

Total Files

19

Last publish

Collaborators

  • dsandor