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
- Host: GitHub
- URL: https://github.com/anvk/simple-html-to-pdf
- Owner: anvk
- License: mit
- Created: 2016-11-28T18:58:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-19T21:46:19.000Z (almost 8 years ago)
- Last Synced: 2025-02-03T12:48:59.143Z (3 months ago)
- Topics: cli-command, conversion, html, htmltopdf, pdf
- Language: JavaScript
- Size: 72.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).