Skip to content

eduha/print-pdf

 
 

Repository files navigation

print-pdf

Simple HTMLElement to PDF

Installation

npm i print-pdf

Usage

    import { PrintPDF } from 'print-pdf';
    
    new PrintPDF(document.body).printPDF();

General Information

This library is relatively new so please feel free to leave any suggestions. Fontawesome and glyphicons should work.

TODO

  • Inline images
  • Investigate performance enhancements
  • tests

License: MIT

About

Prints DOM Elements to PDF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.4%
  • JavaScript 6.7%
  • HTML 0.9%