{"_id":"@amory_wooh/pdf-viewer","name":"@amory_wooh/pdf-viewer","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@amory_wooh/pdf-viewer","version":"0.1.0","author":{"name":"haydenwu@protonmail.com"},"description":"Standalone PDF viewer component with OCR search and keyword highlight.","license":"MIT","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"sideEffects":false,"publishConfig":{"access":"public"},"scripts":{"dev":"vite","build":"tsup","clean":"rimraf dist","test":"vitest run","publish:check":"npm pack --dry-run","prepublishOnly":"npm run test && npm run build && npm run publish:check","release:patch":"npm version patch && npm publish","release:minor":"npm version minor && npm publish","release:major":"npm version major && npm publish"},"peerDependencies":{"react":">=17","react-dom":">=17"},"devDependencies":{"@testing-library/jest-dom":"^6.9.1","@testing-library/react":"^16.3.2","@types/node":"^24.2.1","@types/react":"^18.2.15","@types/react-dom":"^18.2.7","@vitejs/plugin-react":"^4.0.3","jsdom":"^28.1.0","react":"^18.2.0","react-dom":"^18.2.0","rimraf":"^5.0.5","terser":"^5.19.0","tsup":"^8.1.0","typescript":"^5.4.0","vite":"^4.4.5","vitest":"^4.1.3"},"dependencies":{"pdfjs-dist":"^5.6.205"},"_id":"@amory_wooh/pdf-viewer@0.1.0","gitHead":"a4f8916ba209d74e2853acf994a646e6e99829c3","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-W/xYq9DL+0OJiATYZXFWW01kcJlIKpu+AbrEW//zsi3m2VjAPB86XmxoN80/Pr13wNE/G8PcW9g2T6CJxy66Wg==","shasum":"49930c208dfc4798db7c7d377b1741d0a7ff7d5f","tarball":"https://registry.npmjs.org/@amory_wooh/pdf-viewer/-/pdf-viewer-0.1.0.tgz","fileCount":6,"unpackedSize":22334,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBXjPWR7oa85Cv9ZCf6BAWuLg/fy6gKGxsZm22MgeEpEAiAec+vL4v/fibshUjEeCS9tF/3h/Pje0sy7zxCIPE8QZg=="}]},"_npmUser":{"name":"amory_wooh","email":"bloobox2014@gmail.com"},"directories":{},"maintainers":[{"name":"amory_wooh","email":"bloobox2014@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pdf-viewer_0.1.0_1775730955696_0.4242767075204452"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-09T10:35:55.547Z","0.1.0":"2026-04-09T10:35:55.855Z","modified":"2026-04-09T10:35:56.145Z"},"maintainers":[{"name":"amory_wooh","email":"bloobox2014@gmail.com"}],"description":"Standalone PDF viewer component with OCR search and keyword highlight.","author":{"name":"haydenwu@protonmail.com"},"license":"MIT","readme":"# pdfViewer\n\n[English](#english) | [中文](#中文)\n\n## English\n\n### Overview\n\n`pdfViewer` is a PDF viewing project focused on document presentation, text understanding, and search interaction.\n\n### Features\n\n- display PDF documents with a clear reading experience\n- support page navigation, preview, and common viewer interactions\n- enable OCR-based text recognition for scanned or image-based PDFs\n- search document content by keywords\n- highlight matched keywords in the PDF view for easier locating\n- provide a foundation for richer document analysis and interaction features\n\n### Status\n\nThis repository is currently in its initialization stage and will continue to grow around the PDF viewing and OCR search experience.\n\n### Local Demo\n\nRun `npm run dev` to open the local demo page for development and manual verification.\nThe demo page is only for local preview and is not included in the published package.\n\n### Publishing\n\nFor npm publishing workflow and release commands, see `PUBLISHING.md`.\nThe npm package name is `@amory_wooh/pdf-viewer`.\n\n## 中文\n\n### 项目简介\n\n`pdfViewer` 是一个面向文档展示、文本理解和搜索交互的 PDF 预览项目。\n\n### 功能特性\n\n- 展示 PDF 文档，提供清晰稳定的阅读体验\n- 支持页面切换、预览和常见的预览器交互能力\n- 支持基于 OCR 的文本识别，适用于扫描版或图片型 PDF\n- 支持按关键字搜索文档内容\n- 支持在 PDF 视图中高亮匹配到的关键字，便于快速定位\n- 为后续更丰富的文档分析和交互能力提供基础\n\n### 当前状态\n\n目前仓库处于初始化阶段，后续会围绕 PDF 阅读与 OCR 搜索体验持续完善。\n\n### 本地 Demo\n\n执行 `npm run dev` 可以启动本地 demo 页面，用于开发联调和手动验证。\n该 demo 仅用于本地预览，不会被打包进发布产物。\n\n### 发布说明\n\nnpm 发布流程和版本发布命令见 `PUBLISHING.md`。\nnpm 包名为 `@amory_wooh/pdf-viewer`。\n","readmeFilename":"README.md","_rev":"1-a17f142f51dc656318a45b552e65c221"}