htmltopdf-puppeteer
v1.0.21
Published
converts html to pdf using puppeteer
Downloads
4
Readme
Converts HTML file to Pdf.
it open the HTML file in a headless browser and save it in a pdf file using puppeteer
Getting Started
let htmltopdf = require("htmltopdf-puppeteer");
let status = await htmltopdf("path_of_html_file","path_to_save_pdf");
console.log(`pdf generated - status - ${status}`)