An open API service indexing awesome lists of open source software.

https://github.com/anvk/simple-html-to-pdf

Quick CLI command for converting HTML (from URL) to PDF
https://github.com/anvk/simple-html-to-pdf

cli-command conversion html htmltopdf pdf

Last synced: about 1 month ago
JSON representation

Quick CLI command for converting HTML (from URL) to PDF

Awesome Lists containing this project

README

        

# simple-html-to-pdf

> Quick CLI command for converting HTML (from URL) to PDF

## Install

```
$ npm install -g simple-html-to-pdf
```

## Based on

- [PhantomJS Node](https://github.com/amir20/phantomjs-node)
- [Phantom HTML to PDF](https://github.com/pofider/phantom-html-to-pdf)

## Usage

```
simple-html-to-pdf --url="http://www.somewebsite.com" --file="/tmp/my.pdf" [--verbose] [--fitToPage] [--phantomDelay] [--printDelay]
```

## License

MIT license; see [LICENSE](./LICENSE).