۱۳۹۷ فروردین ۲۱, سه‌شنبه

reactjs - How to extract text from a pdf file in javascript?

[ad_1]



So I am wondering if there's a way to extract text from pdf in javascript? I have already surveyed some npm modules like PDF-TO-TEXT but they all take in a file path name as input. I am using the react-drop-to-upload module to allow the user to drop the pdf to a react component. The react component takes in the pdf file and returns a File object rather than a file path. Is there a way to convert PDF stored in an File object to text? Thanks!




[ad_2]

لینک منبع

هیچ نظری موجود نیست:

ارسال یک نظر