Browser Examples
The executable browser example creates PDFs on the page or in a module Worker.
Open the executable browser example
Wasm CI publishes the current dev example and versioned release examples to
GitHub Pages. The unversioned URL redirects to dev; select another version in
the example to run its matching Wasm build, or start from the
GitHub Pages root, which lists
every deployed version. To run the current checkout locally,
build the package, run
npm run wasm:server:browser from the repository root, and open
http://127.0.0.1:8080/.
Focused Examples
- Add Review Annotations creates markup, comments, and replies.
- Add Clickable URL Links adds link regions with Recipe coordinates.
- Set Page Boxes writes and visualizes page boxes.
- Draw a Grayscale Form XObject creates a reusable low-level form XObject and places it on a page.
- Add Content to Rotated Pages places Recipe content and annotations on a rotated page.
- Place and Transform Images accepts a JPEG, PNG, or TIFF upload and places a framed page of an uploaded PDF, or of a built-in sample when none is chosen.
- Create Multi-Page Tables accepts a TTF or OTF font upload.
- Change PDF Passwords encrypts a PDF and creates a decrypted verification copy.
- Watermark Every Page stamps diagonal text on an uploaded PDF, or on a built-in sample when none is chosen.
- Find Text Positions in a PDF and Annotate Existing Text find a string in an uploaded PDF or the built-in sample and highlight every match.
- Inspect PDF Objects and Read PDF Bookmarks read an uploaded PDF or the built-in sample into a one-page report.
See Browser Setup for loading the package and Byte Assets, Blob, and File Input for browser-safe assets.