# PDFKit (JavaScript) — card for AI agents

JavaScript library for generating PDFs programmatically.

Category: Files, images and media · npm package `pdfkit` · latest version 0.20.2 (checked 2026-11-01)
Install: `npm install pdfkit`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Agent Skills for it
- pdfkit from dpearson2699/swift-ios-skills: `npx skills add dpearson2699/swift-ios-skills --skill pdfkit`

## Numbers (AgentGid data)
- Gid Score: 68.9 (#445 of all tools, 25 of 281 in its category)
- Used in 27 public projects set up for AI coding agents (0.4%)
- Downloads last week: 19,219,423 (as of 2026-11-24), +67.1% over 4 weeks
- GitHub stars: 10,740 (as of 2026-11-24)
- Last push: 2026-11-22

## Often used with
Vitest 74.1%, jsdom 51.9%, Testing Library 48.1%, dotenv 51.9%, Zod 63.0%, bcryptjs 37.0%

## Checked alternatives (same job)
- jsPDF: https://agentgid.com/tools/jspdf/agent.md
- pdf-lib: https://agentgid.com/tools/pdf-lib/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/pdfkit-npm/
- Homepage: http://pdfkit.org/
- Repository: https://github.com/foliojs/pdfkit

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
