Skip to content
JS
Package

pdfkit

A JavaScript PDF generation library

v0.20.2, 30 Aug 2026MITESM + CommonJSTypes: NonePDF and documents
$ npm install pdfkit

Key numbers

As of 25 Sept 2026
Weekly downloads
6m
+502% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
6
Direct, from package.json
Last release
26 days ago
v0.20.2
GitHub stars
10.7k
1.2k forks
Open issues / PRs
304 / 24
Contributors
-
Commits, last 52 weeks
120

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 7.3m (8 Sept 2026)Low 828.5k (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.

6,012,988 downloads last week, 25,993,823 in the last month. The 12-month change of +502% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
662 in total
Latest version
0.20.2, 30 Aug 202626 days ago
First published
11 Jul 2011
Last push to GitHub
24 Sept 20261 day before the snapshot
Repository archived
No
Open issues
304
Open pull requests
24
Commits, last 52 weeks
120
Dependents on npm
1,338

Major versions

  1. v0 first release 0.1.0, 11 Jul 2011

Recent releases

VersionPublished
0.20.230 Aug 2026
0.20.123 Aug 2026
0.20.023 Aug 2026
0.19.110 Jun 2026
0.19.07 Jun 2026
0.18.015 Mar 2026
0.17.230 Aug 2025
0.17.13 May 2025
0.17.012 Apr 2025
0.16.029 Dec 2024
0.15.215 Dec 2024
0.15.130 Oct 2024
0.15.024 Mar 2024
0.14.09 Nov 2023
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
10.0 MB
Dependencies (6)
fflatepng-jsfontkitlinebreak@noble/hashes@noble/ciphers
npm install pdfkit

CDN

jsDelivr: 3.9m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pdfkit@0.20.2/
  • unpkghttps://unpkg.com/pdfkit@0.20.2/
  • esm.shhttps://esm.sh/pdfkit@0.20.2
PackageWeekly downloadsGzipLast releaseModuleComparison
@foliojs-fork/pdfkit1.1m-1 year agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.