jsPDF
Client-side JavaScript PDF generation for everyone. (by parallax)
PDFKit
A JavaScript PDF generation library for Node and the browser (by foliojs)
jsPDF | PDFKit | |
---|---|---|
33 | 31 | |
30,005 | 10,134 | |
1.0% | 0.9% | |
6.2 | 8.4 | |
about 16 hours ago | 25 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jsPDF
Posts with mentions or reviews of jsPDF.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-02-24.
-
HTML to PDF JavaScript – Example with Code
As stated in its documentation “html2pdf.js converts any webpage or element into a printable PDF entirely client-side using html2canvas and jsPDF.”
- JsPDF: Generate PDFs on the Client-Side with Just JavaScript
-
Best HTML to PDF libraries for Node.js
jsPDF is a popular JavaScript PDF generator that allows users to generate PDF files in the web browser dynamically. The library is well-maintained, stable, easy to use, and has rich documentation.
-
Seeking Alternative jQuery Plugin for Exporting ASP.NET Web Form HTML Table to Excel and PDF
I haven't had to generate PDF files from the browser, but jsPDF looks promising.
-
jsPDF new version not working
So, as advised on the github page https://github.com/parallax/jsPDF i tried to source the new version of jsPDF using either the first or second src that you see in comment in the code below.
-
trouble with jsPD library
was working fine. But it seems this version does not have the function to do dashed lines, so i wanted a newer version. I tried downloading the folder of the newest one, or tu put : as mentionned in this page : https://github.com/parallax/jsPDF, but now i got a bug when i try to create the pdf and the code stops at the instruction var doc = new jsPDF(); I hope have i been clear, sorry i'm kind of trying out things...
-
Data grid with export and print features
You can use the .NET built-in datagrid, write your own .csv export (it's about 15 lines of code), and use jsPDF to convert the datagrid content to pdf using JavaScript.
- Can I stick a complex web app to a WordPress site?
-
Bibliotecas NodeJS incríveis que você não tem ideia que existem
🔀 Repositório no GitHub
- De HTML a PDF
PDFKit
Posts with mentions or reviews of PDFKit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-02-13.
- OCR4all
-
JsPDF: Generate PDFs on the Client-Side with Just JavaScript
I project I contributed tried to use this, but eventually switched to pdfkit for better accessibility [1].
[1] https://github.com/foliojs/pdfkit
-
Best HTML to PDF libraries for Node.js
PDFkit is one of the oldest and most well-established PDF libraries in the JavaScript ecosystem; it is still well-maintained, and regularly updated. This library is a popular option for creating and manipulating PDF documents in a server-side environment, typically using Node.js. It allows you to programmatically generate PDF files by defining each page's content, layout, and formatting.
-
The 5 Node.js PDF Libraries Every Developer Must Know
pdfkit is a JavaScript PDF lib that allows web developers to create PDF documents programmatically. It provides a simple and intuitive API for generating basic PDFs.
-
Feature Request: Download Images into Compiled PDF Option
Resource could be of use: pdfkit, github link.
-
🏆 Contest - Kintone Customization Contest 2023
Build a PDF generator using Kintone's REST API and a PDF library like PDFKit or PDFMake
-
Best solution for generating pdf documents from templates
https://pdfkit.org/ is pretty powerful, surprised to see no one has mentioned this so far.
-
Best approach to generate PDF from dynamic data?
If this is a concern for you, I suggest you look at projects like pdfkit, they allow you to compose the content of the pdf directly, without using another format (html) has an intermediate layer.
-
react-pdf
I use pdfkit at work
-
What to learn to build this - an interactive tool
Then write a script to export the drag drop. Maybe use a browser function to save the page as a PDF. Or a NPM library using something like https://www.npmjs.com/package/pdfkit
What are some alternatives?
When comparing jsPDF and PDFKit you can also consider the following projects:
PDF.js - PDF Reader in JavaScript
pdfmake - Client/server side PDF printing in pure JavaScript
pdf-lib - Create and modify PDF documents in any JavaScript environment
Papa Parse - Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input