npm-pdfreader
npm-pdfreader copied to clipboard
🚜 Parse text and tables from PDF files.
The previous version (v3.0.1) didn't use the `verbosity` argument pased to `parseBuffer`, meaning that we couldn't disable the "warning" ouput. See: - `parseBuffer` in `v3.0.1` https://github.com/modesty/pdf2json/blob/v3.0.1/pdfparser.js#L134-L136 - `parseBuffer` in `v3.0.5`...
**Describe the bug** I am unable to import or require the module to use in my nodejs application. **To Reproduce** Create a typescript file (I named it `read-pdf.ts`). ```ts import...
We are trying to use the library with Cypress but are getting a strange typescript error. Any help is appreciated **cypress.config.ts :** ``` import {PdfReader} from "pdfreader"; ... some code...
import { PdfReader } from 'pdfreader'; import { Rule } from 'pdfreader/Rule'; const processItem = Rule.makeItemProcessor([ Rule.on(/а/) .extractRegexpValues() .then((item) => console.log(item)), ]); new PdfReader({}).parseFileItems('./pdf/1.pdf', (err, item) => { if (err)...
**Describe the bug** Could not find a declaration file for module 'pdf reader' **To Reproduce** 1. I am using Next JS application with TS support, and getting an error as...
Added and linked the type declaration files.
Removes [yaml](https://github.com/eemeli/yaml). It's no longer used after updating ancestor dependency [semantic-release](https://github.com/semantic-release/semantic-release). These dependencies need to be updated together. Removes `yaml` Updates `semantic-release` from 19.0.3 to 21.0.1 Release notes Sourced from...
**Describe the bug** We need to make the function async/await compatible. I need to return the result after the whole document is parsed. **To Reproduce** List the steps you followed...
https://github.com/adrienjoly/npm-pdfreader/blob/300351cc771027fe2b56d6dd728ee273c57ebe7e/README.md?plain=1#L127 What is the function `displayValue` or `displayTable`? Are those functions provided by the library? Or are the functions that the user must create? If the user must create those...
Added type definitions for TableParser class