Visit Angular NES Home Page

NES for PDF.js

A comprehensive guide for installing and configuring Never‑Ending Support (NES) for PDF.js in your Angular application.

Minimum Requirements

Please review our Minimum Requirements to ensure a smooth installation. Then follow 3 easy steps:

  1. Update your package.json
  2. Create or update your .npmrc file
  3. Install & Run!

Detailed Instructions

Substitute the PDF.js dependencies in your package.json with the following

{
  "dependencies": {
    "pdfjs-dist": "npm:@neverendingsupport/pdfjs-dist@2.0.550-pdfjs-2.0.552"
  },
  "overrides": {
    "pdfjs-dist": { ".": "npm:@neverendingsupport/pdfjs-dist@2.0.550-pdfjs-2.0.552" }
  }
}

Create an .npmrc file with the following

.npmrc
@neverendingsupport:registry=https://registry.nes.herodevs.com/npm/pkg/
//registry.nes.herodevs.com/npm/pkg/:_authToken=<NES_ACCESS_TOKEN>

Install your dependencies

/bin/sh
npm install

And just like that, you can run your integration tests against NES for PDF.js!

Additional Information

Direct Download URLs

The direct download URL for NES for PDF.js is:

PackageURL
pdfjs-dist
2.0.550-pdfjs-2.0.552
Download