@defunctzombie/jspdf
v1.5.3
Published
PDF Document creation from JavaScript
Downloads
3
Readme
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