jsPDF
Client-side JavaScript PDF generation for everyone. (by parallax)
WKHTMLToPDF
Convert HTML to PDF using Webkit (QtWebKit) (by wkhtmltopdf)
Our great sponsors
jsPDF | WKHTMLToPDF | |
---|---|---|
31 | 56 | |
28,377 | 12,952 | |
1.0% | - | |
0.0 | 4.3 | |
28 days ago | over 1 year ago | |
JavaScript | C++ | |
MIT License | GNU Lesser General Public License v3.0 only |
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 2023-10-25.
-
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
- Najbolji JS library za generiranje PDF dokumenata?
-
Google/tracker free PDF markup editor (stylus) for android
Didn't try but there is https://github.com/mozilla/pdf.js to read and https://github.com/parallax/jsPDF to write back so I imagine it could all be done in the browser, no app required. I'm not sure if there is already a project that combine both and use the canvas as a sketching support but have a look and if there isn't one I might prototype as it could be interesting for the PineNote.
WKHTMLToPDF
Posts with mentions or reviews of WKHTMLToPDF.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-05.
- Show HN: CLI for generating beautiful PDF for offline reading
-
Working with PDFs in Ruby
We’ll start with the WickedPDF gem, which is powered by the wkhtmltopdf command-line library.
-
Any good tutorials for working with pdfs in Rust?
The only “sane” way I’ve found to be able to deal with pdfs is through this tool https://wkhtmltopdf.org/
-
Batch saving webpages to PDFs? (Sub wiki page deleted)
wget + https://wkhtmltopdf.org/
-
Get attributes from another session without loading that session
Thanks for the suggestion! KnpSnappyBundle was my initial way to go as well, but my pages use quite some Javascript (chartJs) to render and I couldn’t get wkhtmltopdf to work with it. As it seems wkhtmltopdf does not support ES6 https://github.com/wkhtmltopdf/wkhtmltopdf/issues/3596 so I was forced to find another way.
-
Open Source Tool to create a PDF structure via coding?
wkhtmltopdf — Generates PDFs from HTML documents.
-
Fixed width tables in PDFs
Of the HTML-based pdf-engines pandoc supports, prince would have the best typography, but I don't like recommending Prince because it's proprietary and costs money. (I try to stick to open source when I can.) wkhtmltopdf is the fastest, but uses a pretty old codebase, and doesn't even support paged/print css. weasyprint is a little better in my experience, but still has a ways to go typographically. pagedjs-cli is just a wrapper around headless Chrome/Chromium, and while Chrome has made improvements with regard to typography, Google turns off some of those features (e.g., hyphens) in headless mode, which is annoying.
-
Is there a command line program to convert web pages into readable markdown/htm/pdf format? preferably markdown
Concerning pdf there is the well known wkhtmltopdf , but let me say that I love the not so well known percollate
-
LaTex alternative/replacement written in Rust?
Did you try wkhtmltopdf and WeasyPrint, by any chance?
-
Is there any program that helps you build your own bestiary for homebrew settings?
Since the srd uses standardized links (base/creature type/creature name) you could make a list of urls based on your selected monsters in a spreadsheet, then use a program like https://wkhtmltopdf.org/, https://www.weenysoft.com/free-html-to-pdf-converter.html, or the url conversion feature in Adobe Acrobat Pro if you combine all the urls into an htm for Acrobat to pull from.
What are some alternatives?
When comparing jsPDF and WKHTMLToPDF you can also consider the following projects:
pdfmake - Client/server side PDF printing in pure JavaScript
Dompdf - HTML to PDF converter for PHP
PDF.js - PDF Reader in JavaScript
DinkToPdf - C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.
PDFKit - A JavaScript PDF generation library for Node and the browser
TCPDF - Official clone of PHP library to generate PDF documents and barcodes
react-pdf - 📄 Create PDF files using React
mPDF - PHP library generating PDF files from UTF-8 encoded HTML
WeasyPrint - The awesome document factory
Papa Parse - Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input
puppeteer - Node.js API for Chrome