PDF.js usage
How to Build a React PDF Viewer with PDF.js | PSPDFKit
How to Build a TypeScript PDF Viewer with PDF.js | PSPDFKitlog
PDF.js uses workers to parse and render the PDF file. To keep things simple, we’ll avoid bundling the workers and instead copy them to our public folder (named
public
) using the following:
cp ./node_modules/pdfjs-dist/build/pdf.worker.min.js ./public/
{and then you can do:}
Features
- List of past articles for the user
- Includes what they learned, what they ignored
- Word order by frequency