pdf-lib
Create and modify PDF documents with JavaScript in Node.js and browsers.
3. Used by agents' projects
Dependency in 64 public GitHub projects set up for AI coding agents that we scanned (1.0%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What pdf-lib does
Create and modify PDF documents with JavaScript in Node.js and browsers.
pdf-lib popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How pdf-lib is used
- pdf-lib is a dependency in 64 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (1.3% of the 4,867 JavaScript/TypeScript ones), #13 of 281 in files, images and media.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 168; those are left out of every share on this page.
- The most used alternative in our scan is jsPDF (132 projects).
- Projects that use it most often also use Lucide React (70.3%), Class Variance Authority (60.9%), React (85.9%).
By coding agent
Often used with
More about pdf-lib
Funding
- GitHub Sponsors: https://github.com/Hopding
- 2 GitHub sponsors
Head to head
- jsPDF vs pdf-lib used together in 8 projects
More in Files, images and media
Alternatives
pdf-lib This page
Generate PDF documents directly from JavaScript in browsers and Node.js.
Get started
Install it.
npm install pdf-libNo step-by-step start for pdf-lib yet: we have not written its hand-checked card.