dbashford/textract

PDF extractor options are ignored

crazy4groovy opened this issue · 4 comments

Which options are you interested in?

-layout and -nopgbrk

The short answer to your question is: "If they were documented well within the node module I may have known to use them."

How do those get passed into the node module?

For instance nopgbrk would be a boolean?

var options = {
  cwd: "./"
}
extract(filePath, options, function (err, pages) {
  if (err) {
    console.dir(err)
    return
  }
  console.dir('extracted pages', pages)
})

Quick note, the library has, since the last note here, been updated to include documentation, so I will be allowing options to be passed in with the next release.