Skip to content
JS
Package

jspdf

PDF Document creation from JavaScript

v4.2.1, 17 Mar 2026MITESM + CommonJSTypes: BundledPDF and documents
$ npm install jspdf

Key numbers

As of 25 Sept 2026
Weekly downloads
10.6m
+296% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
6 months ago
v4.2.1
GitHub stars
31.3k
4.8k forks
Open issues / PRs
96 / 18
Contributors
-
Commits, last 52 weeks
41

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 16.9m (5 May 2026)Low 2.9m (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.

10,593,178 downloads last week, 54,132,146 in the last month. The 12-month change of +296% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
534 in total
Latest version
4.2.1, 17 Mar 20266 months ago
First published
19 May 2015
Last push to GitHub
23 Sept 20262 days before the snapshot
Repository archived
No
Open issues
96
Open pull requests
18
Commits, last 52 weeks
41
Dependents on npm
2,570

Major versions

  1. v4 first release 4.0.0, 3 Jan 2026
  2. v3 first release 3.0.0, 19 Feb 2025
  3. v2 first release 2.0.0, 11 Aug 2020
  4. v1 first release 1.0.272, 19 May 2015

Recent releases

VersionPublished
4.2.117 Mar 2026
4.2.019 Feb 2026
4.1.02 Feb 2026
4.0.03 Jan 2026
3.0.419 Nov 2025
3.0.318 Sept 2025
3.0.226 Aug 2025
3.0.118 Mar 2025
3.0.019 Feb 2025
2.5.217 Sept 2024
2.5.128 Jan 2022
2.5.021 Dec 2021
2.4.014 Sept 2021
2.3.19 Mar 2021
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
28.8 MB
Dependencies (3)
fflatefast-png@babel/runtime
npm install jspdf

CDN

jsDelivr: 17.8m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/jspdf@4.2.1/
  • unpkghttps://unpkg.com/jspdf@4.2.1/
  • esm.shhttps://esm.sh/jspdf@4.2.1
PackageWeekly downloadsGzipLast releaseModuleComparison
pdf-merger-js173.8k-2 years agoESM only-
pdf.js-extract114.1k-5 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.