A command line tool to generate PDF from URL, HTML or Markdown files
Options
--help Show this help
--version Current version of package
-i | --input String - The path to the HTML file or url
-o | --output String - The path of the output PDF
-c | --css String - The path to custom CSS
-p | --printBackground Boolean - Whether to print CSS backgrounds.
default - true
-s | --printSelectionOnly Boolean - Whether to print selection only
default - false
-l | --landscape Boolean - true for landscape, false for portrait.
default - false
-m | --marginType Integer - Specify the type of margins to use
0 - default
1 - none
2 - minimum
-d | --disableCache Disable HTTP caching
Usage
$ hyperpdf