unjs/unpdf
📄 PDF extraction and rendering across all JavaScript runtimes observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 97
- Release rhythm 97
- Longevity 79
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: 6
- age_days: 1118
- days_rel: 20
- days_push: 19
- n_releases_24m: 26
Adoption not part of the score
1218 stars · 46 forks observed · 2026-08-28
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-08-28 · 4ac75dcbc700
- registry_npm: https://registry.npmjs.org/unpdf · fetched 2026-08-29 · bc5877aadc35
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| unjs/unpdf | main | 93 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem