samedi 27 juillet 2019

How to extract text from PDF using PDF.JS?

I'm creating a React Application with NodeJS and it needs to get some text from a PDF that the user upload.

I already tried to use: pdf-parse, pdf2json, pdf.js and react-pdf-js. The file should be selected by the user, and all those libraries use a Path to acess the file. What should I do? PS1: I'm using a input type='file' button to get the file.

The code must work both NodeJS and Web Browser




Aucun commentaire:

Enregistrer un commentaire