hi

html2pdf.it

html2pdf.it =========== Using PhantomJS to generate pdfs, via a webservice. Runs using node.js.

Showing:

Popularity

Downloads/wk

1

Maintenance

No Maintenance Data Available

Package

Dependencies

3

Size (min+gzip)

399.1KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

logo html2pdf.it

Generate PDFs from any web-page. You need Node.js to run it.

See it in action at: html2pdf.it.

Works out of the box on any operating system supported by phantomjs-prebuilt; this specifically includes Windows, macOS, and most Linux distributions.

To get started you need to clone the repository, cd to it and run:

npm install

Running webserver locally

node open.js

This also opens your web-browser pointing to your locally running html2pdf.it:

Running webserver

node .

If you want to host html2pdf.it yourself, you will have to ask your host if they support hosting Node.js applications.

If your host does not support Node.js, you'll need to find a new host that does. Check out Heroku or Nodejitsu for example.

Running tests

npm test

Page breaks

You can use the CSS attribute:

page-break-before: always;

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100