Using PDFTron's WebViewer SDK, extract text from two PDFs and compare any of the text differences using diff-match-patch.
You can compare PDFs from local file storage, sample files provided or two URLs.
Download or clone repository, unzip and in terminal navigate to the unzipped folder.
npm start
The app will be running on http://localhost:8080.