API#

Core API#

The core JavaScript file in lib/mupdf.js provides a low-level API which can be found within MuPDF & JavaScript on the main MuPDF documentation website.

This documentation is tagged with wasm only for the relevant methods as MuPDF.js is based on WebAssembly.

Node.js API#

The Core API Web Assembly methods are exposed to Node, as such you anything you can do there, you can do in Node.

See How to Guide with Node.js for more.


Note

Further, higher level API’s will be defined as we evolve more JavaScript integrations.