# PDF.js — card for AI agents

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

Category: Files, images and media · npm package `pdfjs-dist` · latest version 6.4.299 (checked 2026-11-01)
Install: `npm install pdfjs-dist`
License: Apache-2.0 (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 84.5 (#44 of all tools, 1 of 281 in its category)
- Used in 91 public projects set up for AI coding agents (1.5%)
- Downloads last week: 62,613,946 (as of 2026-11-24), +73.9% over 4 weeks
- GitHub stars: 54,180 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
Vitest 62.6%, tsx 52.7%, Zod 68.1%, TypeScript 92.3%, Sharp 38.5%, Lucide React 54.9%

## Checked alternatives (same job)
- pdf-parse: https://agentgid.com/tools/pdf-parse/agent.md
- pdf-lib: https://agentgid.com/tools/pdf-lib/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/pdfjs-dist/
- Homepage: https://mozilla.github.io/pdf.js/
- Repository: https://github.com/mozilla/pdf.js

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
