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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    6
  • 0.3.0
    0
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i jspdf-invoice

Weekly Downloads

6

Version

1.0.0

License

MIT

Unpacked Size

644 kB

Total Files

20

Last publish

Collaborators

  • andre_kelling