Requirements Node 7.6.0 or greater. Usage First, include the convertHTMLToPDF from the package in your .js file: const convertHTMLToPDF = require("pdf-puppeteer"); var callback = function (pdf) { // do something with the PDF like send it as the response res.setHeader("Content-Type", "application/pdf"); res.send(pdf); } /** * Usage * @param html - This is the html to be converted to a pdf * @param
{{#tags}}- {{label}}
{{/tags}}