1.0.21 • Published 6 years ago

htmltopdf-puppeteer v1.0.21

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
6 years ago

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}`)
1.0.21

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago