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.