gjTool/pdfh5
web/h5/移动端PDF预览插件,可手势缩放。支持npm install和script标签引入 observed · 2026-08-28
Health v2 · maintenance only
51/100
- Activity 47
- Release rhythm 29
- 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: 154
- age_days: 2955
- days_rel: 318
- days_push: 318
- n_releases_24m: 2
Adoption not part of the score
1101 stars · 244 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pdfh5.js is a JavaScript plugin for rendering and previewing PDF files in web and mobile (H5) browsers, built on top of PDF.js. It supports gesture zoom, lazy and segmented loading, password-protected PDFs, and integrates via script tag or npm with Vue and React.
Use cases
- preview pdf files on mobile web pages
- embed a pdf viewer in a vue app
- render pdfs with pinch-to-zoom on h5
- display password-protected pdfs in the browser
- lazy load large pdf files in web frontend
- add pdf preview to a react project
When to choose
- you need mobile-friendly pdf viewing with gesture zoom in a browser
- you want a lightweight drop-in pdf viewer via script tag or npm
- your project uses Vue or React and needs pdf rendering
When to avoid
- you need a native mobile pdf viewer outside the browser
- you need heavy pdf editing or annotation features
- you need server-side pdf processing
Facets
plugin · maturity active
pdf-viewer ui-components image-processing pdf web-development frontend mobile-development browser cross-platform pdfjs jquery-plugin mobile-web gesture-zoom vue react h5 web-server
3 sources
- readme: https://github.com/gjTool/pdfh5 · fetched 2026-08-28 · 4a5c18d297f7
- homepage: https://pdfh5.gjtool.cn/pdfh5/pdf.html · fetched 2026-08-29 · 3052c07191b1
- registry_npm: https://registry.npmjs.org/pdfh5 · fetched 2026-08-29 · 235f11b79d44
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gjTool/pdfh5 | main | 51 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem