# bpampuch/pdfmake

Client/server side PDF printing in pure JavaScript

Repository: https://github.com/bpampuch/pdfmake
Canonical: https://ross.abutalabs.com/products/pdfmake
Homepage: http://pdfmake.org
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2026-06-12T04:41:49+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 87, release rhythm 88, longevity 100
- inputs: {"age_days": 4607, "days_push": 82, "days_rel": 82, "gap_med": 10.5, "n_releases_24m": 23}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12336, forks 2079 (observed 2026-08-28T04:10:52.391730+00:00)

## What it is
pdfmake is a pure JavaScript library for generating PDF documents on both the client and server side, built on top of PDFKit. It uses a declarative document-definition object to handle layout features like tables, lists, columns, images, headers/footers, and font embedding.

## Use cases
- generate pdf invoices from javascript
- create pdf reports in the browser
- print pdf documents server-side with node
- build tables and lists in generated pdfs
- embed custom fonts in pdf documents
- download or print a pdf from a web app

## When to choose
- you need PDF generation in pure JavaScript without native dependencies
- you want the same PDF code to run in the browser and on Node.js
- you need rich layout features like tables, columns, page headers/footers, and table of contents

## When to avoid
- you need to parse or manipulate existing PDF files rather than create them
- you require pixel-perfect control over low-level PDF primitives that PDFKit exposes directly
- you need features outside pdfmake's layout engine, such as form filling or digital signatures

## Facets
- artifact type: library
- maturity: stable
- function: pdf, templating
- domain: pdf, web-development, developer-tools
- platform: browser, cross-platform
- tags: pdf-generation, document-layout, pdfkit, client-side, server-side, reporting, nodejs, javascript

## Member repositories
- bpampuch/pdfmake (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:52.391730+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:14:09.120395+00:00, confidence not recorded.
  - readme: https://github.com/bpampuch/pdfmake (fetched 2026-08-28T04:10:52.391730+00:00, sha b6042e883db8)
  - registry_npm: https://registry.npmjs.org/pdfmake (fetched 2026-08-29T08:11:41.839213+00:00, sha d2b4a8ca0d9c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
