jsPDF
Generate PDF documents directly from JavaScript in browsers and Node.js.
3. Used by agents' projects
Dependency in 132 public GitHub projects set up for AI coding agents that we scanned (2.1%).
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 jsPDF does
Generate PDF documents directly from JavaScript in browsers and Node.js.
jsPDF popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How jsPDF is used
- jsPDF is a dependency in 132 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.7% of the 4,867 JavaScript/TypeScript ones), #4 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 548; those are left out of every share on this page.
- The most used alternative in our scan is html2canvas (75 projects).
- Projects that use it most often also use Lucide React (84.1%), React (93.9%), Tailwind CSS (93.9%).
- It is more common in projects set up for Devin Desktop (6.5%) than for OpenCode (1.7%).
By coding agent
Often used with
More about jsPDF
Head to head
- jsPDF vs pdf-lib used together in 8 projects
More in Files, images and media
Alternatives
jsPDF This page
JavaScript library for taking screenshots of web pages and rendering HTML to canvas.
Create and modify PDF documents with JavaScript in Node.js and browsers.
Get started
Install it.
npm install jspdfNo step-by-step start for jsPDF yet: we have not written its hand-checked card.