-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I created an NPM package that ships a bundled version of this PDF.js viewer. This build allows complete customization and easy integration. It also ships typescript declaration files for the internal viewer classes that you are free to monkey-patch. You can find this package here.
Mozillas free open source library PDF.js is awesome and creates a huge value for any web-dev who needs to work with PDFs. Sadly, they stopped distributing their default PDF viewer (which is around 15kLOC), so you have to build it from source.
Maybe I am missing something but isn‘t pdfjs-dist the package you were looking for? According to the pdf js repo this is the generic version as a npm package. And the version number of the npm-package seems to match the version of the latest stable release of pdf-js.