1.5.3 • Published 4 years ago

@defunctzombie/jspdf v1.5.3

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

jsPDF

A library to generate PDFs in JavaScript.

Typescript type definitions included.

Install with yarn or npm

yarn add @defunctzombie/jspdf
npm install @defunctzombie/jspdf
import { Document } from '@defunctzombie/jspdf';
const doc = new Document();

doc.text('Hello world!', 10, 10);
const pdfDocument = doc.output();

console.log(pdfDocument);

Credit

This work builds on top of https://github.com/MrRio/jsPDF.

License

MIT