Example PDF Generation (using Google's Puppeteer) To install the puppeteer node module, run: npm i puppeteer To generate a PDF, run node generatePDF.js saves the PDF (test.pdf) to the root directory Local Development Node v13.x.x NPM v6.x.x Puppeteer Documentation https://developers.google.com/web/tools/puppeteer/ Basic examples: High-quality pdf generation using puppeteer Saving a Dynamic Web Page as PDF with Puppeteer Generating PDF from HTML with Node.js and Puppeteer