Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

pdf-lib

Create and modify PDF documents with JavaScript in Node.js and browsers.

Files, images and mediaNPM

GitHubWebsite

1. License

License from npm.

github.com/Hopding/pdf-lib

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

74 / 100
Gid Score, #249 overall
34.8M
downloads a week, npm
8,693
GitHub stars
64
agent projects use it
pdf-lib: downloads per weeknpm, pdf-lib 34,769,838
pdf-lib: GitHub starsHopding/pdf-lib 8,693

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

34 projects, 1.4%
31 projects, 0.9%
23 projects, 0.8%
5 projects, 1.1%

Often used with

In 70.3% of its projects
In 60.9% of its projects
In 85.9% of its projects
In 60.9% of its projects
In 60.9% of its projects
In 57.8% of its projects
In 76.6% of its projects
In 43.8% of its projects

More about pdf-lib

Funding
  • GitHub Sponsors: https://github.com/Hopding
  • 2 GitHub sponsors

See all

Head to head
More in Files, images and media

Alternatives

pdf-lib This page

MITGid 7434.8M/wk

jsPDF

Generate PDF documents directly from JavaScript in browsers and Node.js.

MITGid 7922.2M/wk

Compare pdf-lib with another tool

Get started

Install it.

npm install pdf-lib

No step-by-step start for pdf-lib yet: we have not written its hand-checked card.