Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

jsPDF

Generate PDF documents directly from JavaScript in browsers and Node.js.

Files, images and media npm MIT

Used in agent projects
184
1.4% of 12,697 public repos built with AI coding agents
Rank in files, images and media
#4 of 52
by use in those projects
Downloads
15.6M
npm, last 7 days, jspdf
GitHub stars
31.3K
last push Sep 30, 2026

How jsPDF is used

jsPDF is a dependency in 184 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (1.4%), #4 of 52 in files, images and media. The most used alternative there is Sharp. Projects that use it most often also use Lucide React (83.2%), Tailwind Merge (65.8%), clsx (67.4%). It is more common in projects set up for Devin Desktop (6.2%) than for OpenCode (1.9%).

Often used with jsPDF

Lucide React83.2% of jsPDF projects · 4.2× more than average
Tailwind Merge65.8% of jsPDF projects · 3.9× more than average
clsx67.4% of jsPDF projects · 3.8× more than average
Class Variance Authority59.8% of jsPDF projects · 4.2× more than average
Tailwind CSS89.7% of jsPDF projects · 2.6× more than average
Recharts57.1% of jsPDF projects · 7.0× more than average
Radix UI51.6% of jsPDF projects · 4.3× more than average
date-fns51.1% of jsPDF projects · 6.0× more than average

By coding agent

Claude Code2.3% of projects set up for it
GitHub Copilot2.3% of projects set up for it
Cursor2.7% of projects set up for it
Devin Desktop6.2% of projects set up for it
Gemini CLI3.4% of projects set up for it
OpenAI Codex2.2% of projects set up for it
OpenCode1.9% of projects set up for it
Kiro4.1% of projects set up for it

Share of public repos configured for each agent that list jsPDF as a dependency.

Install

Packagenpm install jspdf
Main stacksNext.js (89), TypeScript / JavaScript (87), Python (7), Rust (1)
Example projectsding113/claude-code-hub, kupzed/catatz, pierceboggan/coloring-book, riccorohl/trading-journal, gopaljilab/Clinical-Insight-Engine

Alternatives to jsPDF

All files, images and media

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Sharp npm
High-speed image processing for resizing, converting JPEG, PNG, WebP, GIF formats.
390 (3.1%) 115M 32.7K Apache-2.0
Pillow pypi
Python imaging library for image processing, manipulation and conversion.
292 (2.3%) 138M 13.9K —
Nodemailer npm
Send emails from Node.js applications with support for multiple transport methods.
232 (1.8%) 25.2M 17.7K MIT-0
qrcode (JavaScript) npm
Generate QR codes on server and client using canvas with Node.js and browser support.
163 (1.3%) 29.7M 8,178 MIT
SheetJS npm
Parse and generate spreadsheets (Excel, CSV) in Node.js and browsers.
146 (1.1%) 12.7M 36.3K Apache-2.0
html2canvas npm
JavaScript library for taking screenshots of web pages and rendering HTML to canvas.
115 (0.9%) 18.5M 31.9K MIT
JSZip npm
JavaScript library for creating, reading and editing ZIP archives in the browser.
96 (0.8%) 47.5M 10.4K (MIT OR GPL-3.0-or-later)
openpyxl pypi
Python library for reading and writing Excel 2010 XLSX/XLSM files.
88 (0.7%) 71.8M — MIT
Is jsPDF right for your project? Ask AgentGid →