Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 420 Bytes

File metadata and controls

23 lines (17 loc) · 420 Bytes

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