More examples can be found in the examples folder. You can play with the PDF.js API directly from your browser using the live demos below: For more information and examples please refer to the We supply pre-built versions for usage with NPM and Bower under To use PDF.js in a web application you can choose to use a pre-built version of the library The PDF.js files are large and should be minified for production. This will generate pdf.js and in the build/generic/build/ directory (respectively build/generic-legacy/build/).īoth scripts are needed but only pdf.js needs to be included since willīe loaded by pdf.js. To get a local copy of the current code, clone it using git: Then openĬhrome, go to Tools > Extension and load the (unpackaged) extension from the Build Your Own - Get the code as explained below and issue gulp chromium.PDF.js is built into version 19+ of Firefox. Please note that the "Modern browsers" version assumes native support forįeatures such as optional chaining, nullish coalescing,Īnd private class fields/methods please also see this wiki page. Toįeel free to stop by our Matrix room for questions or guidance. PDF.js is an open source project and always looking for more contributors. Our goal is toĬreate a general-purpose, web standards-based platform for parsing and PDF.js is community-driven and supported by Mozilla.
ADOBE PDF VIEWER FOR FIREFOX PORTABLE
PDF.js is a Portable Document Format (PDF) viewer that is built with HTML5.