We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
static extractTextFromPdf(pdf, options) { console.log('entred to exctract'); pdf = pathe.resolve(pdf) return new Promise((resolve, reject) => { const processor = pdfExtract(pdf, { ...options, clean: true }, (err) => { if (err) { reject(err); } }); processor.on('complete', (data) => { resolve(data.text_pages); console.log('good'); }); processor.on('error', (err) => { console.log(' error extractTextFromPdf '); reject(err); }); }); }
The text was updated successfully, but these errors were encountered:
It seems the pdfk link on their website isn't providing the latest installation package. See this issue on StackOverflow.
After installing the latest version of pdfk provided in the StackOverflow issue the problem should be solved!
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: