1.0.0 • Published 3 months ago

jspdf-invoice v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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);
});
1.0.0

3 months ago

0.3.0

3 months ago

0.2.0

3 months ago

0.1.0

3 months ago