Skip to content
JS
Package

@cantoo/pdf-lib

Create and modify PDF files with JavaScript

v2.11.1, 15 Sept 2026MITESM + CommonJSTypes: BundledPDF and documents
$ npm install @cantoo/pdf-lib

Key numbers

As of 25 Sept 2026
Weekly downloads
430.2k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
9 days ago
v2.11.1
GitHub stars
353
76 forks
Open issues / PRs
13 / 5
Contributors
-
Commits, last 52 weeks
72

No weekly download data in the snapshot.

430,236 downloads last week, 1,873,723 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
22120 in total
Latest version
2.11.1, 15 Sept 20269 days ago
First published
12 Mar 2021
Last push to GitHub
11 Sept 202614 days before the snapshot
Repository archived
No
Open issues
13
Open pull requests
5
Commits, last 52 weeks
72
Dependents on npm
43

Major versions

  1. v2 first release 2.0.0, 20 May 2024
  2. v1 first release 1.16.1, 12 Mar 2021

Recent releases

VersionPublished
2.11.115 Sept 2026
2.11.011 Sept 2026
2.9.27 Sept 2026
2.9.118 Aug 2026
2.9.018 Aug 2026
2.8.416 Aug 2026
2.8.314 Aug 2026
2.8.212 Aug 2026
2.8.130 Jul 2026
2.8.030 Jul 2026
2.7.416 Jul 2026
2.7.314 Jul 2026
2.7.212 Jul 2026
2.7.127 May 2026
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
25.1 MB
Dependencies (4)
tslibculorifflatenode-html-better-parser
Peer dependencies (1)
html-entities
npm install @cantoo/pdf-lib

CDN

jsDelivr: 64.7k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@cantoo/pdf-lib@2.11.1/
  • unpkghttps://unpkg.com/@cantoo/pdf-lib@2.11.1/
  • esm.shhttps://esm.sh/@cantoo/pdf-lib@2.11.1
PackageWeekly downloadsGzipLast releaseModuleComparison
pdf-lib9.8m-4 years agoESM + CommonJS-
@pdfme/pdf-lib163.4k-9 days agoESM only-
pdf-lib-incremental-save5.9k-2 years agoESM + CommonJS-
Sources: npm registry, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.