File: introduction.rst

package info (click to toggle)
mupdf 1.27.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 29,224 kB
  • sloc: ansic: 335,320; python: 20,906; java: 7,520; javascript: 2,213; makefile: 1,152; xml: 675; cpp: 639; sh: 513; cs: 307; awk: 10; sed: 7; lisp: 3
file content (13 lines) | stat: -rw-r--r-- 450 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
.. default-domain:: js

Introduction
============

MuPDF can be used in two ways with Javascript as follows:

- With ``mutool run``.
- With `mupdf.js <https://mupdfjs.readthedocs.io/en/latest/>`_ package for Node and browsers.

Both ways are very similar and here we show code samples and the documentation
for both. However if a function or class is specific to only one environment,
then it is marked with the |only_mutool| or |only_mupdfjs| tags.