{"repo":"adrienjoly/npm-pdfreader","free":true,"listed":false,"github":"https://github.com/adrienjoly/npm-pdfreader","clone":"git clone https://github.com/adrienjoly/npm-pdfreader.git","description":"🚜 Parse text and tables from PDF files.","language":"HTML","stars":704,"topics":["data-extraction","pdf-converter","parsing","javascript","tabular-data","pdf-reader","parse-tables","rule-based-parsing"],"license":"MIT","category":"media-processing","readme_excerpt":"pdfreader Read text and parse tables from PDF files. Supports tabular data with automatic column detection, and rule-based parsing . Dependencies: it is based on pdf2json, which itself relies on Mozilla's pdf.js. 🆕 Now includes TypeScript type definitions! ℹ️ Important notes: - This module is meant to be run using Node.js only. It does not work from a web browser. - This module extracts text entries from PDF files. It does not support photographed text. If you cannot select text from the PDF file, you may need to use OCR software first . Summary: - Installation, tests and CLI usage - Raw PDF reading (incl. examples) - Rule-based data extraction - Troubleshooting & FAQ Installation, tests and CLI usage After installing Node.js: Installation into an existing project To install pdfreader as a dependency of your Node.js project: Then, see below for examples of use. Raw PDF reading This module exposes the PdfReader class, to be instantiated. You can pass { debug: true } to the constructor, in order to log debugging information. (useful for troubleshooting) Your instance has two methods for parsing a PDF. They return the same output and differ only in input: PdfReader.parseFileItems (as below) for a filename, and PdfReader.parseBuffer (see: \"Raw PDF reading from a PDF already in memory (buffer)\") from data that you don't want to reference from the filesystem. Whichever method you choose, it asks for a callback, which gets called each time the instance finds what it denotes as a PD","default_branch":null,"files":null,"tree":[],"storefront":"/r/adrienjoly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/adrienjoly/npm-pdfreader/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}