MuPDF for Node JS, JavaScript & TypeScript
Bring fast, lightweight PDF processing to your web apps. MuPDF.js supports JavaScript and TypeScript with powerful features and WebAssembly performance. Install via npm and get started quickly.
npm i mupdf
Built for Front-end and Server-side JavaScript
Server-Side PDF Power
Run MuPDF.js on the server with our REST API example — ideal for headless PDF processing in Node.js environments.
Modern Web Integration
MuPDF.js works seamlessly with frameworks like React, Vue, Angular and Next.js. It’s built for today’s full-stack JavaScript workflows.
Start Fast with Examples
From simple scripts to full viewers, our example library helps you build and integrate faster. Everything you need is ready to explore and extend.
See MuPDF.js in Action
Check out our live PDF Viewer demos. See how MuPDF.js performs in real-world scenarios before you build.
See DemoAvailable On npm
Install MuPDF.js directly from npm to start building with ease. Supports Node.js, TypeScript, and modern JavaScript environments.
npm i mupdf
MuPDF.js Resources
Quick Start Guide
Jump into our docs and get started.
Find us on Github
Check out our ongoing development.