jspdf-invoice

1.0.0 • Public • Published

jsPDF invoice

An invoice template.

Here there is a demo how that print is looking like.

Install

  1. npm i jspdf-invoice -S

Usage

Should look like this:

import { printPDF } from "jspdf-invoice";

document.querySelector(".js-print-pdf").addEventListener("click", function() {
    /**
    * @type {PrintData} check PrintData interface in src/print/index.d.ts
    */
    const printData = {
        ...
    }
    
    printPDF(printData);
});

Readme

Keywords

Package Sidebar

Install

npm i jspdf-invoice

Weekly Downloads

9

Version

1.0.0

License

MIT

Unpacked Size

644 kB

Total Files

20

Last publish

Collaborators

  • andre_kelling