Skip to content

Commit

Permalink
docs(contributing): add parameter for pdfToText function
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeseongDev committed Mar 19, 2024
1 parent 1908ae7 commit 1c536ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,10 @@ const options = {
firstPageToConvert: 1,
lastPageToConvert: 2,
};
const outputFile = "test_document.txt";

poppler
.pdfToText(file, options)
.pdfToText(file, output, options)
.then((res) => {
console.log(res);
})
Expand Down

0 comments on commit 1c536ca

Please sign in to comment.