{"repo":"ArtifexSoftware/mupdf.js","free":true,"listed":false,"github":"https://github.com/ArtifexSoftware/mupdf.js","clone":"git clone https://github.com/ArtifexSoftware/mupdf.js.git","description":"JavaScript bindings for MuPDF","language":null,"stars":606,"topics":["javascript","mupdf","pdf","wasm","pdf-extraction","pdf-viewer","typescript"],"license":"AGPL-3.0","category":"media-processing","readme_excerpt":"MuPDF.js MuPDF.js is the official JavaScript and TypeScript library for reading, rendering, and manipulating PDF documents. It wraps the MuPDF C engine in WebAssembly, so the same high-fidelity rendering runs in Node.js, browsers, Bun, and Deno — with no native dependencies. Note: mupdf is an ESM-only module. Use import , not require() . For TypeScript, set \"module\": \"nodenext\" in tsconfig.json . There is also an older community package called mupdf-js (with a hyphen) — that package is deprecated; use mupdf instead. --- Contents - Why mupdf.js - Requirements - Installation - Quick start - Key capabilities - Code examples - API overview - Supported formats - Examples & demos - Documentation - License --- Why mupdf.js - High-fidelity rendering — built on the same MuPDF C engine used in many commercial PDF viewers; pixel-perfect output at any resolution - Runs everywhere — Node.js 14+, Bun, Deno, and all modern browsers via WebAssembly - Full editing — render, annotate, redact, merge, split, and save PDFs; not just a viewer - TypeScript-first — bundled .d.ts definitions, no @types package required; full IDE auto-completion - Zero native dependencies — the WebAssembly binary is self-contained; no platform-specific builds needed - Official & maintained — developed by Artifex Software, the creators of MuPDF and Ghostscript --- Requirements Requirement Version --- --- Node.js 14+ (18+ recommended) Bun Any current release Deno With npm compatibility enabled Browsers Chrome, Firefox, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ArtifexSoftware","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ArtifexSoftware/mupdf.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}