bpampuch/pdfmake

Client/server side PDF printing in pure JavaScript

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 55 minutes ago
Added to GitGenius on September 4th, 2026
Created on January 21st, 2014
Open Issues & Pull Requests: 237 (+0)
GitHub issues: Enabled
Number of forks: 2,079
Total Stargazers: 12,340 (+0)
Total Subscribers: 238 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 8.7 days
Mean response time: 238.1 days
90th percentile: 740.1 days
Tracked items: 347

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 99% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "3rd-party" is answered fastest, typically in about 35 hours, while "styles" waits about 17 months. Only 5% of issues opened in the past year have been closed. Three people close 90% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 129
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 2,071 days
Stale 30+ days: 127
Stale 90+ days: 125

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • table (80)
  • bug (78)
  • feature request (77)
  • page (45)
  • styles (26)
  • waiting for information (21)
  • framework integration (20)
  • text (14)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

pdfmake is a PDF document generation library that works in both server-side and client-side JavaScript environments.

The tool addresses the need to generate PDF documents programmatically without relying on external services or native binaries. It works by providing a declarative API where developers define document structure, styling, and content in JavaScript, which the library then renders into PDF format. The library handles layout concerns including text wrapping, alignment, pagination, and complex nested structures automatically.

Developers should choose pdfmake when they need to generate PDFs directly within a JavaScript application without external dependencies. It suits projects ranging from simple report generation to complex documents with tables, headers, footers, and dynamic content. The tool is particularly useful for applications that need to produce PDFs in the browser or on Node.js servers using the same codebase. The library includes features like table of contents generation, font embedding, multi-level nested structures, snaking columns for newspaper-style layouts, and automatic header repetition across page breaks. A playground and examples are available to explore capabilities before committing to adoption.

The project maintains active development with regular updates and a documented build process supporting both npm and yarn. The codebase is written in pure JavaScript with no native dependencies, making it portable across environments. Documentation is maintained in a separate repository with an explicit invitation for community improvements, indicating an openness to external contributions and feedback on the documentation quality.