Closed Albitos closed 6 years ago
+1 i need this too
@Albitos Can you remove console.log and add update index.d.ts? Then i'll be happy to merge
I removed the console.log and renamed parameters in index.d.ts + rebased all changes into a nice, single commit :)
It's a bit weird to specify the size in inches. Normally you want to specify a format like letter and A4. You definitely don't want to specify A4 in inches :P
Using a new --paper-width and --paper-height arguments
Example for A4: chrome-headless-render-pdf --url http://google.com --pdf test.pdf --paper-width=8.3 --paper-height=11.7