Visit Angular NES Home Page Substitute the PDF.js dependencies in your
Create an
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:
- Update your
package.json - Create or update your
.npmrcfile - 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
Replace <NES_ACCESS_TOKEN> with your access token.
.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:
| Package | URL |
|---|---|
| pdfjs-dist 2.0.550-pdfjs-2.0.552 | Download |