jsPDF
Client-side JavaScript PDF generation for everyone. (by parallax)
diff2html
Pretty diff to html javascript library (diff2html) (by rtfpessoa)

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
jsPDF | diff2html | |
---|---|---|
33 | 7 | |
29,967 | 3,049 | |
1.0% | 1.1% | |
6.2 | 6.1 | |
17 days ago | 3 months ago | |
JavaScript | TypeScript | |
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
diff2html
Posts with mentions or reviews of diff2html.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-24.
- diff2html
- Unified versus Split Diff
-
Good Report Generation Tool for Branch Diffs / Pull Request?
If html is an option, something like https://diff2html.xyz/
-
Difftastic, the Fantastic Diff: How it works
My favorite diff tool is diff2html - see the diff in your browser as HTML!
https://diff2html.xyz/
Install the CLI, run the command (alias diff='diff2html -s side') - I run this at least every time before committing to quickly see all I've done.
-
Nova 9
Try diff2html-cli -- you alias in your terminal "diff" to the diff2html command and you get a beautiful HTML diff (side-by-side or inline) of the current changes you've made (or against a branch you choose).
https://diff2html.xyz/
-
Git Techniques at Risk Ledger
My favorite git-related thing is `diff2html` so I set up an alias `diff` which will open the browser and show me all the changes I've made to the branch:
https://diff2html.xyz/
-
Git is my buddy: Effective Git as a solo developer
Relevant useful tool: diff2html - a CLI that lets you quickly see an HTML output of all uncommitted the changes you've made (or compare against a branch).
https://diff2html.xyz/
I have an alias `alias diff='diff2html -s side --ig package-lock.json'` which shows a side-by-side comparison of my changes. Highly recommend!
What are some alternatives?
When comparing jsPDF and diff2html you can also consider the following projects:
PDF.js - PDF Reader in JavaScript
PDFKit - A JavaScript PDF generation library for Node and the browser
hyperterm - A terminal built on web technologies
pdfmake - Client/server side PDF printing in pure JavaScript
jBinary - High-level API for working with binary data.

Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured