Getting Started:
Clone the repository to your local computer:
git clone https://github.com/kristenprescott/puppeteer-to-pdf.git
Install packages:
npm i
Start the server:
npm run start
Then, open http://localhost:8080/pdf?target=https://example.com
in the browser, where https://example.com
is the page you want to see as a PDF.