This repository is an example of how to use PDF.js. Check out the related blog post.
- Clone this repository:
git clone https://github.com/PSPDFKit-labs/pdfjs-example.git
- Navigate to the cloned repository:
cd pdfjs-example
- Install the
serve
package:
npm install --global serve
- Serve the contents of the current directory:
serve -l 8080 .
- Navigate to http://localhost:8080 to view the website.
Please ensure you have signed our CLA so that we can accept your contributions.