unjs/unpdf
Some data may be outdated — see provenance labels.
📄 PDF extraction and rendering across all JavaScript runtimes observed · 2026-10-02
Health v2 · maintenance only
88/100
- Activity 89
- Release rhythm 90
- Longevity 83
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 1166
- days_rel: 68
- days_push: 67
- n_releases_24m: 24
Adoption not part of the score
1240 stars · 47 forks observed · 2026-10-02
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
unpdf is a TypeScript library providing PDF extraction and rendering utilities that work across all JavaScript runtimes, including Node.js, Deno, Bun, browsers, and serverless edge environments. It bundles a serverless-optimized build of Mozilla's PDF.js and offers simple APIs for extracting text, links, and images from PDF documents.
Use cases
- extract text from pdf files in javascript
- parse pdfs for ai summarization or rag pipelines
- read pdf content in cloudflare workers or edge functions
- extract images and links from pdf documents
- modern replacement for pdf-parse in node
- use pdf.js in deno or bun without node-specific dependencies
When to choose
- you need PDF text extraction that runs in serverless or edge environments
- you want a maintained, multi-runtime alternative to pdf-parse
- you're building AI workflows that ingest PDF documents
- you want a simple API over PDF.js with the option to drop down to the raw PDF.js API
When to avoid
- you need full PDF creation or heavy layout manipulation rather than extraction
- you only target Node.js and already depend on native PDF tooling like pdftotext
- you need OCR of scanned PDFs without a text layer
Facets
library · maturity active
pdf parser ocr pdf files developer-tools bun browser cross-platform serverless cloud pdfjs text-extraction serverless edge cloudflare-workers ai-pipelines natural-language-processing nodejs deno
2 sources
- readme: https://github.com/unjs/unpdf · fetched 2026-10-02 · 4ac75dcbc700
- registry_npm: https://registry.npmjs.org/unpdf · fetched 2026-08-29 · bc5877aadc35
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| unjs/unpdf | main | 88 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem