0.0.3 • Published 7 years ago

htmlprinter5 v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

htmlprinter5

A simple library for converting html to pdf and img

Download

  • To use this library, you have to download the htmlprinter5.js file in Dist folder.
  • Or using npm:
    $ npm install htmlprinter5

Then load it in your html file using "script" tag.

Use

  • Convert html to image:

To use this, call the toIMG method by using this code:

htmlPrinter.toIMG(<htmlHaveToConvert>);

The image will be downloaded automaticly.

  • Convert html to pdf:

To use this, call the toPDF method by using this code:

htmlPrinter.toPDF(<htmlHaveToConvert>);

The pdf file will be downloaded automaticly.

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago