Gathering detailed insights and metrics for @bundled-es-modules/pdfjs-dist
Gathering detailed insights and metrics for @bundled-es-modules/pdfjs-dist
Gathering detailed insights and metrics for @bundled-es-modules/pdfjs-dist
Gathering detailed insights and metrics for @bundled-es-modules/pdfjs-dist
This is a mirror of pdfjs-dist, bundled and exposed as an ES module
npm install @bundled-es-modules/pdfjs-dist
Typescript
Module System
Node Version
NPM Version
92.1
Supply Chain
89.1
Quality
81.4
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
23 Stars
32 Commits
14 Forks
1 Watchers
3 Branches
4 Contributors
Updated on Oct 18, 2024
Latest Version
3.6.172-alpha.1
Package Id
@bundled-es-modules/pdfjs-dist@3.6.172-alpha.1
Unpacked Size
8.94 MB
Size
2.02 MB
File Count
76
NPM Version
8.19.2
Node Version
18.12.1
Published on
May 12, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
This is a mirror of pdfjs-dist, bundled and exposed as an ES module
1npm install @bundled-es-modules/pdfjs-dist
1import pdfjs from "@bundled-es-modules/pdfjs-dist/build/pdf"; 2import viewer from "@bundled-es-modules/pdfjs-dist/web/pdf_viewer"; 3 4pdfjs.GlobalWorkerOptions.workerSrc = 5 "@bundled-es-modules/pdfjs-dist/build/pdf.worker.js"; 6 7var url = "basicapi.pdf"; 8var loadingTask = pdfjs.getDocument(url); 9//...
Important: Unlike in the original build, the pdfjs.GlobalWorkerOptions.workerSrc
is mandatory. We recommend supplying the worker via CDN.
├── build/
│ ├── pdf.js - display layer
│ └── pdf.worker.js - core layer
|── types/ - typescript typings
└── web/
├── pdf_viewer.js - top-level viewer import, containing all necessary setup
├── module.js - pdf-viewer module, transformed from UMD to ESM
└── util.js - utility module for setup
PDFJS is a library by Mozilla, created to facillitate client-side rendering of PDF documents.
Currently, the primary build for this project is provided as UMD-style modules at pdfjs/pdfjs-dist.
Support for es modules in the main project has been requested here (#10317)
1npm i 2npm run build
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 5/16 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
14 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More