Open DavideViolante opened 4 months ago
Like this I don't get anything on console.log, neither error.
const { data } = await axios.get('https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf', {
responseType: 'arraybuffer',
});
pdfExtract.extractBuffer(data, options, (err, pdf) => {
if (err) {
return console.error(err);
}
console.log(pdf);
});
Node v20 "pdf.js-extract": "^0.2.1"
Am I missing something?
I also tried, but same error:
Does it work only with local files?