Skip to content

Small app made in Node.js and using the mozilla PDF.js pdf files reader. Only for learning purposes, its adaptation should at least re-skin the viewer, as requested by the authors.

Notifications You must be signed in to change notification settings

Ahmsanz/node-pdfjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node - PDF.js pdf files viewer

This small app serves a pdf viewer via NodeJS + Express JS and adapting the pre-built version of PDF.js, by Mozilla.

If you want to try it yourself, just download the current stable pre-built version of the PDF.js library, and add both folders to your web application.

You will only need to link to the "viewer.html" file + your target file, and the library will do the magic.

You can start with this very repository:

  • Just use npm -i to install the dependencies (basically Express.js).

  • Make sure you serve correctly the proper files and that you are linking to your target file (putting it into the "web" folder will make it simple). You can find comprehensive documentation at the GitHub site of Mozilla PDF.js.

  • Et voilá! You got it.

About

Small app made in Node.js and using the mozilla PDF.js pdf files reader. Only for learning purposes, its adaptation should at least re-skin the viewer, as requested by the authors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published