@fabifont/open-redact-pdf
v0.1.0
Published
Browser-first PDF redaction SDK for open-redact-pdf.
Maintainers
Readme
@fabifont/open-redact-pdf
Typed TypeScript and WebAssembly SDK for open-redact-pdf.
Install
npm install @fabifont/open-redact-pdfBasic usage
import { initWasm, openPdf, getPageCount } from "@fabifont/open-redact-pdf";
await initWasm();
const handle = openPdf(pdfBytes);
const count = getPageCount(handle);For the full API and integration guidance, see:
- https://fabifont.github.io/open-redact-pdf/reference/ts-sdk.html
- https://fabifont.github.io/open-redact-pdf/guides/browser-integration.html
