Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Latest commit

 

History

History
23 lines (17 loc) · 420 Bytes

README.md

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