Skip to content
JS
Package

pdfjs

A Portable Document Format (PDF) generation library targeting both the server- and client-side.

v2.5.4, 1 Jul 2025MITCommonJSTypes: BundledPDF and documents
$ npm install pdfjs

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
025k50k75k100kSept 2025Mar 2026Sept 2026High 98.8k (21 Apr 2026)Low 22.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pdfjs@2.5.4/
  • unpkghttps://unpkg.com/pdfjs@2.5.4/
  • esm.shhttps://esm.sh/pdfjs@2.5.4
PackageWeekly downloadsGzipLast releaseModuleComparison
svg2pdf.js192k-24 days agoESM only-
pdfkit-table60.1k-4 months agoCommonJS-
easy-pdf-merge8.3k-5 years agoCommonJS-
@embedpdf/engines385k-8 days agoESM + CommonJS-
google-docs-mustaches11.4k-5 years agoCommonJS-
jspdf10.6m-6 months agoESM + CommonJS-
@embedpdf/fonts-arabic372.3k-8 months agoESM + CommonJS-
@embedpdf/fonts-hebrew370.4k-8 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.