This is a convenient wrapper around headless Chrome and Puppeteer that generates a PDF or a screenshot of a website effortlessly.
You can easily use this package on serverless API endpoints on Vercel, or any other Node backend, without worrying about the complexities and dependencies too much.
See src/
and the following docs: