website-pdf
Save a URL as a PDF
npm i -D website-pdf
website-pdf http://example.com -o example.pdf
Options
-o --out-file Output filename
-w --width Width in pixels
-h --height Height in pixels
--no-sandbox Disable puppeteer sandbox
Save a URL as a PDF
npm i -D website-pdf
website-pdf http://example.com -o example.pdf
-o --out-file Output filename
-w --width Width in pixels
-h --height Height in pixels
--no-sandbox Disable puppeteer sandbox
npm i website-pdf
1
4.1.0
MIT
3.54 kB
5