here is a nice example of how to use pdf.js for extracting the text:
http://git.macropus.org/2011/11/pdftotext/example/
of course you have to remove a lot of code for your purpose, but it should do it
here is a nice example of how to use pdf.js for extracting the text:
http://git.macropus.org/2011/11/pdftotext/example/
of course you have to remove a lot of code for your purpose, but it should do it