Package
pdfjs
A Portable Document Format (PDF) generation library targeting both the server- and client-side.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 74.6k
- +94% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 6
- Direct, from package.json
- Last release
- 1 year ago
- v2.5.4
- GitHub stars
- 817
- 142 forks
- Open issues / PRs
- 70 / 3
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
74,641 downloads last week, 336,431 in the last month. The 12-month change of +94% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 2.5.4, 1 Jul 20251 year ago
- First published
- -
- Last push to GitHub
- 1 Jul 2025450 days before the snapshot
- Repository archived
- No
- Open issues
- 70
- Open pull requests
- 3
- Commits, last 52 weeks
- 0
- Dependents on npm
- 53
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=7
- Runtimes
- -
- Unpacked size (npm)
- 347 kB
- Dependencies (6)
pakouuidunormopentype.jsreadable-stream@rkusa/linebreak
npm install pdfjs- jsDelivr
https://cdn.jsdelivr.net/npm/pdfjs@2.5.4/ - unpkg
https://unpkg.com/pdfjs@2.5.4/ - esm.sh
https://esm.sh/pdfjs@2.5.4
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| svg2pdf.js | 192k | - | 24 days ago | ESM only | - |
| pdfkit-table | 60.1k | - | 4 months ago | CommonJS | - |
| easy-pdf-merge | 8.3k | - | 5 years ago | CommonJS | - |
| @embedpdf/engines | 385k | - | 8 days ago | ESM + CommonJS | - |
| google-docs-mustaches | 11.4k | - | 5 years ago | CommonJS | - |
| jspdf | 10.6m | - | 6 months ago | ESM + CommonJS | - |
| @embedpdf/fonts-arabic | 372.3k | - | 8 months ago | ESM + CommonJS | - |
| @embedpdf/fonts-hebrew | 370.4k | - | 8 months ago | ESM + CommonJS | - |
Indexability: Indexed.