Skip to content

Commit

Permalink
Update documentation (#337)
Browse files Browse the repository at this point in the history
documentation updated, from the comments - #309 (comment)
  • Loading branch information
mkrishnan-codes authored Apr 16, 2024
1 parent 55ee74d commit 08a407f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ To disable the first type, you could mock the console.log and console.warn APIs,

pdfParser.on("pdfParser_dataError", errData => console.error(errData.parserError) );
pdfParser.on("pdfParser_dataReady", pdfData => {
fs.writeFile("./pdf2json/test/F1040EZ.json", JSON.stringify(pdfData));
fs.writeFile("./pdf2json/test/F1040EZ.json", JSON.stringify(pdfData),(data) => { console.log(data)});
});

pdfParser.loadPDF("./pdf2json/test/pdf/fd/form/F1040EZ.pdf");
Expand Down

0 comments on commit 08a407f

Please sign in to comment.