You should be able to parse the pdf and get back text on specific pages.
We do it in the pdf-utils unit tests. See it here
https://github.com/jsreport/jsreport-pdf-utils/blob/master/lib/utils/parsePdf.js
https://github.com/jsreport/jsreport-pdf-utils/blob/master/test/test.js#L55