Native Shell
Native Shell:AI 生成的 UI,在你的應用中原生呈現,涵蓋每個平台。iOS、Android、macOS、Windows 與 Linux 上的應用、GPUI 應用與網頁在執行時載入已簽名、沙箱隔離的 TSX 模組並繪製 th
AI 翻譯
A fast PDF viewer for React, built on pdf.js
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗A fast PDF viewer for React, built on pdf.js: React out of the hot path, and drawing off the main thread wherever pdf.js allows it.
The name combines the Japanese "parapara", flipping quickly through pages, with parallel rendering on worker threads.
Status: 0.x.
parapdfis on npm, and its API may change in any minor release until 1.0.
npm install parapdf
import { PdfDocument, PdfViewer } from "parapdf";
export function App() {
return (
<PdfDocument source="/manual.pdf">
<PdfViewer style={{ height: "100vh" }} />
</PdfDocument>
);
}
parapdf.yhay81.com has the guides, the API
reference, and a live demo.
CHANGELOG.md lists the releases.
Every choice that may affect speed or memory is measured; the
performance page has the
numbers, and docs/decisions/ the records behind them.
A pnpm workspace for Node 24 or later: the package in
packages/parapdf, the demo with its functional checks
and benchmarks in examples/prototype, the engine
benchmark in bench, and the documentation site in site.
docs/architecture.md describes the design,
AGENTS.md the layout and commands,
CONTRIBUTING.md what a pull request needs, and
SECURITY.md how to report a vulnerability.
pnpm install
pnpm check
pnpm test
pnpm --filter @parapdf/bench exec playwright install chromium webkit firefox
pnpm --filter @parapdf/bench corpus
pnpm --filter @parapdf/prototype build
ENGINE=pdfjs pnpm --filter @parapdf/prototype check:text
Apache License 2.0. Parts of ParaPDF are derived from pdf.js: see NOTICE.md.