node-pdf-image
node-pdf-image copied to clipboard
fs.stat is not a function
var PDFImage = require("pdf-image").PDFImage; var pdfImage = new PDFImage("./IP.pdf"); console.log(pdfImage) pdfImage.convertPage(0).then(function (imagePath) { console.log(imagePath) }).catch(err => { console.log(err); });
when i call converPage,and then got an error