PDF.js for Pub

A pub package containing the latest stable release of PDF.js, ready to be used.

Usage

Once you have this pub installed as a dependency, you should use it like this:

http://example.com/packages/pdfjs_for_pub/web/viewer.html?file=/my_folder/my_document.pdf

This will make a full screen PDF viewer appear, and will open the file located at: http://example.com/my_folder/my_document.pdf

Libraries