query-file-content
v0.0.2
Published
A module to query file content from pdf, doc, docx, and odt formates, build on textract
Downloads
2
Readme
query-file-content
A module to query file content from pdf, doc, docx, and odt formates built on the textract module
Install
npm install query-file-content
Extraction Requirements
Note, if any of the requirements below are missing, textract will run and extract all files for types it is capable. Not having these items installed does not prevent you from using textract, it just prevents you from extracting those specific files.
PDF
extraction requirespdftotext
be installed, linkDOC
extraction requiresantiword
be installed, link, unless on OSX in which case textutil (installed by default) is used.RTF
extraction requiresunrtf
be installed, link, unless on OSX in which case textutil (installed by default) is used.PNG
,JPG
andGIF
requiretesseract
to be available, link. Images need to be pretty clear, high DPI and made almost entirely of just text fortesseract
to be able to accurately extract the text.DXF
extraction requiresdrawingtotext
be available, link