PDF.js
PDF Reader in JavaScript observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 28.5
- age_days: 5608
- days_rel: 36
- days_push: 7
- n_releases_24m: 23
Adoption not part of the score
53786 stars · 10660 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PDF.js is Mozilla's general-purpose PDF viewer and rendering library built with HTML5 and JavaScript. It parses and renders PDF documents entirely in the browser without plugins, and is also distributed as the pdfjs-dist npm package.
Use cases
- render pdf files in the browser
- embed a pdf viewer in a web app
- extract text from pdf with javascript
- display pdf documents without browser plugins
- build a custom pdf reader ui
- convert pdf pages to canvas images
When to choose
- you need plugin-free PDF viewing in a web browser
- you want programmatic PDF parsing, text extraction, or page rendering in JavaScript
- you need a battle-tested viewer maintained by Mozilla and used in Firefox
When to avoid
- you need to create or edit PDFs rather than view them
- you need server-side PDF processing with heavy native performance
- you need pixel-perfect fidelity for exotic PDF features that HTML5 rendering can't match
Facets
library · maturity stable
pdf pdf-viewer parser ui-components pdf web-development frontend files browser pdf-rendering html5 mozilla viewer text-extraction nodejs javascript web
1 source
- readme: https://github.com/mozilla/pdf.js · fetched 2026-08-28 · 6b6802d24723
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mozilla/pdf.js | main | 98 |
| mozilla/pdfjs-dist | mirror | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem