talira

Compare

PDFKitPuppeteerjsPDFpdfmake
What it isA JavaScript PDF generation library for Node and the browser.JavaScript API for Chrome and FirefoxClient-side JavaScript PDF generation for everyone.PDF document generation library for Node.js and browsers, written in pure JavaScript
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.700.820.650.68
Stars10733958413131312367
Last commit2026-11-032026-11-152026-11-142026-11-14
LicenceMITApache-2.0MITMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it————
SOC 2————
HIPAA————
SSO————
APINo—NoNo
PluginsNo—YesNo
MCP serverNo—NoNo
CompanyfoliojsGoogle
public company (NASDAQ:GOOGL)
yWorks—
Features
  • Canvas-like vector graphics API with SVG path parsing, transforms and gradients
  • Text wrapping, alignment, soft hyphens and bulleted lists
  • Tables
  • Font embedding and subsetting (TrueType, OpenType, WOFF, WOFF2, collections)
  • JPEG and PNG images, including transparency
  • Annotations: links, notes, highlights, underlines
  • AcroForms
  • Outlines (bookmarks)
  • All 10 features
  • page.pdf() and createPDFStream() print to PDF
  • headless by default
  • waits for fonts before printing
  • Chrome and Firefox via DevTools Protocol or WebDriver BiDi
  • downloads a compatible Chrome on install (puppeteer-core does not)
  • screenshots, navigation, form input and scraping
  • imperative API for text, shapes and images
  • browser builds (ES module, UMD, global) and a Node.js build
  • html() via optional html2canvas and DOMPurify
  • custom TTF fonts via fontconverter or addFont
  • compat API mode for older plugins
  • polyfills for Internet Explorer
  • declarative JSON-like document definition
  • tables with auto/fixed/star widths, row and column spans, repeated headers
  • snaking columns
  • dynamic headers and footers with page number and count
  • table of contents and outlines
  • images, SVG and QR codes
  • watermarks and background layer
  • font embedding
  • All 12 features