--- title: Getting Started template: layout.jade --- # Getting Started An introduction to PDF.js with examples. ## Introduction Before downloading PDF.js please take a moment to understand the different layers of the PDF.js project.
Layer | About |
---|---|
Core | The core layer is where a binary PDF is parsed and interpreted. This layer is the foundation for all subsequent layers. It is not documented here because using it directly is considered an advanced usage and the API is likely to change. For an example of using the core layer see the PDF Object Browser. |
Display | The display layer takes the core layer and exposes an easier to use API to render PDFs and get other information out of a document. This API is what the version number is based on. |
Viewer | The viewer is built on the display layer and is the UI for PDF viewer in Firefox and the other browser extensions within the project. It can be a good starting point for building your own viewer. However, we do ask if you plan to embed the viewer in your own site, that it not just be an unmodified version. Please re-skin it or build upon it. |
Includes the generic build of PDF.js and the viewer.
Stable (vSTABLE_VERSION)Includes the generic build of PDF.js and the viewer.
Stable (vSTABLE_VERSION)$ git clone https://github.com/mozilla/pdf.js.git
$ cd pdf.js