diff --git a/README.md b/README.md index 7c5fff7f..5960a80c 100644 --- a/README.md +++ b/README.md @@ -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); })