


PDFMake - A great javascript library that generates pdf from an object array.In efforts to save you from that, here's what did not work for me, and why: In my efforts to find a good method to print html to PDF, I ran into many dead ends. That may initially sound strange, but they are great for automating PDF rendering, or creating a robot to search the web. So what's a headless browser? Simply put, its a browser with no display. Big thanks to the Chrome DevTools team for maintaining this excellent headless browser!

We will be using the Puppeteer headless chrome browser to pull the web page on a Node server and convert it to PDF. This article shares a brief tutorial for how to save web page as PDF with NodeJs.
