Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

jsPDF vs pdf-lib

In 4,864 JavaScript/TypeScript projects set up for AI coding agents, jsPDF is a dependency in 131 (2.7%) and pdf-lib in 64 (1.3%): jsPDF is 2.0× as common. Among repos created in the last 90 days that use a files, images and media tool, jsPDF is in 7.8% and pdf-lib in 7.8%, against 12.7% and 6.0% of older ones. 8 projects list both, often a sign of a migration or of a monorepo with several apps.

Files, images and media npm Updated Nov 17, 2026

jsPDF2.7%
pdf-lib1.3%

Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.

Side by side

jsPDFpdf-lib
Agent projects that use it13164
Rank in files, images and media#4#13
In new repos with a files, images and media tool (last 90 days)7.8%7.8%
In older repos with one12.7%6.0%
Downloads, last 7 days22.1M32.7M
GitHub stars31.3K8,685
Last push to its repoNov 14, 2026Jul 17, 2024
LicenseMITMIT
Funding——
Projects that list both8

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.

By coding agent

Projects set up forJavaScript/TypeScript reposjsPDFpdf-lib
Claude Code2,6172.9%1.2%
GitHub Copilot2,3503.0%1.0%
Cursor1,9903.3%1.7%
Gemini CLI4223.6%1.2%
OpenAI Codex4092.4%0%
OpenCode3042.0%0%
Devin Desktop2317.4%0%
Kiro1254.8%0%

Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

jsPDF

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

Most often used with it:

Lucide React84.7% of its projects
React93.9% of its projects
Tailwind CSS93.9% of its projects
clsx72.5% of its projects
Tailwind Merge69.5% of its projects

npm install jspdf

pdf-lib

Create and modify PDF documents with JavaScript in Node.js and browsers.

Most often used with it:

Lucide React70.3% of its projects
Class Variance Authority60.9% of its projects
React85.9% of its projects
Tailwind Merge60.9% of its projects
clsx60.9% of its projects

npm install pdf-lib

More matchups

PDF.js vs pdf-parseSheetJS vs ExcelJS

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.