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
As currently written, the examples will have undesired behavior - ignoring the options object passed in.
For ex:
extract(filePath, { splitPages: false }, function (err, text) { if (err) { console.dir(err) return } console.dir(text) })
Referencing code
module.exports = function pdfTextExtract (filePath, options, pdfToTextCommand, cb) { if (typeof (pdfToTextCommand) === 'function') { cb = pdfToTextCommand pdfToTextCommand = 'pdftotext' options = {} } }
Working example, not ignoring options parameter -
var path = require('path') var filePath = path.join(__dirname, '/document.pdf') var extract = require('pdf-text-extract') extract(filePath, { splitPages: false }, 'pdftotext', function (err, text) { if (err) { console.dir(err) return } console.dir(text) })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As currently written, the examples will have undesired behavior - ignoring the options object passed in.
For ex:
Referencing code
Working example, not ignoring options parameter -
The text was updated successfully, but these errors were encountered: