JarvusInnovations / puppeteer-cli

A general command-line wrapper for puppeteer. Currently only supports one command—`print`—to render a local/or remote HTML file to PDF. Aims to be a easy replacement for the deprecated wkhtmltopdf.
MIT License
54 stars 25 forks source link

Add viewport option. #5

Closed fingul closed 5 years ago

fingul commented 5 years ago

Hello!

I made feature, set viewport size.

Thanks for this package!

fingul commented 5 years ago

Sorry for complexity. Modify as you want.

Thanks. Have a nice day!