pipwerks/PDFObject
A lightweight JavaScript utility for dynamically embedding PDFs in HTML documents. observed · 2026-08-28
Health v2 · maintenance only
31/100
- Activity 18
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5642
- days_rel: 566
- days_push: 494
- n_releases_24m: 1
Adoption not part of the score
2500 stars · 964 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PDFObject is a lightweight JavaScript utility for dynamically embedding PDF files into HTML documents using iframes. It detects browser PDF support via navigator.pdfViewerEnabled and provides fallback content when inline PDF embedding is unavailable.
Use cases
- embed a pdf in a web page
- display pdf files inline in html
- show fallback content when browser can't render pdfs
- embed pdfs in a vue 3 app
- detect whether the browser supports inline pdf viewing
- embed base64-encoded pdfs with a custom download filename
When to choose
- you need to embed PDFs in desktop web pages with graceful fallbacks
- you want a tiny dependency-free utility rather than a full PDF renderer
- you need simple browser PDF support detection
- you use Vue 3 and want a drop-in <PdfObject> component
When to avoid
- you need to render PDFs on mobile browsers, which don't support inline embedding
- you need to render, annotate, or manipulate PDF content in JavaScript (use PDF.js)
- you need server-side PDF generation or processing
Facets
library · maturity stable
pdf-viewer ui-components pdf web-development frontend browser pdf-embedding javascript iframe fallback-content vue-plugin nodejs
4 sources
- readme: https://github.com/pipwerks/PDFObject · fetched 2026-08-28 · a270c1a80bd8
- homepage: http://pdfobject.com/ · fetched 2026-08-29 · efafd61647db
- registry_npm: https://registry.npmjs.org/pdfobject · fetched 2026-08-29 · 0e22371f9a06
- site_page: https://pdfobject.com/vue · fetched 2026-08-29 · f3b9c5f01b7e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pipwerks/PDFObject | main | 31 |
For agents
markdown · JSON · MCP: product_card(name="pipwerks/PDFObject")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem