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

PDF.js vs pdf-parse

In 4,864 JavaScript/TypeScript projects set up for AI coding agents, PDF.js is a dependency in 90 (1.9%) and pdf-parse in 65 (1.3%): PDF.js is 1.4× as common. Among repos created in the last 90 days that use a files, images and media tool, PDF.js is in 9.8% and pdf-parse in 5.9%, against 8.5% and 6.1% of older ones. 15 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

PDF.js1.9%
pdf-parse1.3%

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

Side by side

PDF.jspdf-parse
Agent projects that use it9065
Rank in files, images and media#8#12
In new repos with a files, images and media tool (last 90 days)9.8%5.9%
In older repos with one8.5%6.1%
Downloads, last 7 days58.1M13.3M
GitHub stars54.1K224
Last push to its repoNov 16, 2026May 4, 2026
LicenseApache-2.0Apache-2.0
Funding——
Projects that list both15

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 reposPDF.jspdf-parse
Claude Code2,6172.6%1.6%
GitHub Copilot2,3501.2%1.0%
Cursor1,9901.5%1.6%
Gemini CLI4224.5%1.2%
OpenAI Codex4092.4%1.5%
OpenCode3042.3%0%
OpenClaw2418.7%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.

PDF.js

Mozilla's PDF rendering library for displaying and working with PDFs in browsers.

Most often used with it:

Vitest64.4% of its projects
tsx52.2% of its projects
Zod66.7% of its projects
Sharp40.0% of its projects
TypeScript92.2% of its projects

npm install pdfjs-dist

pdf-parse

Pure TypeScript module for extracting text, images and tables from PDFs cross-platform.

Most often used with it:

mammoth50.8% of its projects
OpenAI43.1% of its projects
Zod66.2% of its projects
Lucide React58.5% of its projects
Next.js53.8% of its projects

npm install pdf-parse

More matchups

jsPDF vs pdf-libSheetJS 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.