# pdfme: 6.9 out of 10

Reasonable, with limits. 7th of 9 in [PDF libraries](https://elestia.ai/opensource/pdf/index.md).

pdfme is an MIT-licensed TypeScript library that fills PDF templates. It comes with a drag-and-drop template designer, a form and viewer UI, and a generator that runs in the browser and in Node. It is a good, actively maintained choice when documents have fixed layouts, such as invoices, certificates and forms, especially when non-developers edit the templates. For flowing, code-defined documents, pdfmake or React-pdf fit better.

**Best for:** Apps that generate fixed-layout documents like invoices, labels and certificates from templates that users or designers edit in a visual designer.

## Scores

- **Overall: 6.9** (likely 5.8 to 7.9)
  - Claude Opus 5.5 (6.0): It is the clear pick when templates must be edited visually or when documents have a fixed layout, and it is actively maintained and growing. For most code-generated documents, pdfmake, React-pdf or PDFKit do the job better and have far more users and validation. Thin independent evidence and frequent output changes keep it out of the 7–8 band.
  - GPT-6.2 Sol (7.7): Pick pdfme when users need to lay out a document visually and the app needs to generate it repeatedly from data. Its actively maintained designer and typed generator make it a strong choice for that workflow. PDF.js is a better fit for general PDF viewing, and pdfmake is a better fit for code-defined reports that need merged cells and more control over page breaks. Limited independent evidence at production scale keeps the range wide.
- **Needed by many: 4.2** (likely 3.1 to 5.3)
  - Claude Opus 5.5 (4.0): Only part of the category's job: it generates PDFs from templates and does not parse or edit arbitrary PDFs. Fixed-layout business documents are a common need in web apps, but they are still a niche among JS developers. The browser and Node support keep it from being narrower.
  - GPT-6.2 Sol (4.3): Reusable PDF templates serve a clear group of apps that produce invoices, reports, labels, and forms. Browser and Node.js support make the generator usable across stacks. The viewer focuses on template previews, which narrows its audience within the PDF category. The share of JavaScript projects that need visual template authoring is uncertain.
- **Helps a lot: 7.1** (likely 6.0 to 8.3)
  - Claude Opus 5.5 (6.0): Unmatched for designer-edited, fixed-position templates, and the field types are rich: tables, barcodes, SVG and CMYK. Its absolute positioning makes flowing content hard, and text can overflow its box. Here pdfmake and React-pdf do clearly better. The range is wide because independent reviews are few.
  - GPT-6.2 Sol (8.1): Version 6.2.8 lets teams design, preview, and generate from one typed template, and the beta CLI gives coding agents a way to check templates and rendered output. Dynamic tables can span pages with a blank page definition, while uploaded PDF backgrounds use fixed pages. Merged cells are missing, and users report editing glitches in designer tables. Current independent performance evidence is thin.
- **Holds up over time: 7.1** (likely 5.7 to 8.4)
  - Claude Opus 5.5 (6.5): Activity is very high: 520 commits, 11 GitHub releases and 35 npm versions in a year, with issues handled well (39 open against 428 closed). The work is led by a small core team and funded by sponsors such as Datadog and Famly. Frequent output and behaviour changes in minor releases are a cost when upgrading.
  - GPT-6.2 Sol (7.7): The repository logged 520 commits and 11 GitHub releases in the past year, and October patches addressed reported Designer regressions. The project reports four core contributors and lists Datadog as a sponsor, while recent stable tags are concentrated with the founder. Some user requests have taken months, and recent updates have changed import compatibility and rendered layouts. Release coverage and long-term funding remain uncertain.
- **Used widely: 3.6** (likely 2.4 to 4.8)
  - Claude Opus 5.5 (3.5): Downloads were about 1.17M per 4 weeks, up 5.3x in a year, which is above the 4.1 median, so it is gaining ground. Even so, it has only 17 dependent repos and 4 dependent packages, against thousands for its peers, and its downloads are far below every peer's. Its stars (5k) and social attention are modest.
  - GPT-6.2 Sol (3.7): Generator installs rose from about 222,000 to 1.17 million in the same four-week window, a 5.28× increase against the catalog median of 4.1×. PDFKit, PDF.js, and React-pdf renderer grew faster, and ecosyste.ms found only 17 repositories and four packages using the generator. Stars and Bluesky links cover the entire pdfme suite, and automated installs and incomplete dependency coverage leave the number of direct adopters uncertain.
- **Vouched for: 4.2** (likely 2.7 to 5.6)
  - Claude Opus 5.5 (3.5): Its corporate sponsors include Datadog, and a community Directus extension builds on it, but no well-known adopters are documented. Independent write-ups are few, and the one detailed comparison is mixed. There are no Hacker News stories, and it does not appear in surveys.
  - GPT-6.2 Sol (4.8): A Finly developer reports using the Designer and Form in a Payload CMS workflow for client documents. Independent NestJS and Vue integrations build on the generator, and an external comparison identifies reusable templates as its specialty. A current independent benchmark, a developer survey rating, and multiple large production deployments remain unverified.
- **Safe: 7.2** (likely 6.1 to 8.6)
  - Claude Opus 5.5 (7.0): MIT licence, only 2 direct dependencies, and no advisories recorded for @pdfme/generator. In October 2026, release 6.2.6 fixed a low-severity URL-check issue in @pdfme/common (GHSA-2rg9-wxfw-wrr7) and documented it. There is no OpenSSF Scorecard data. The library loads remote images and fonts, and it pulls in pdf-lib and fontkit as transitive dependencies.
  - GPT-6.2 Sol (7.4): The MIT-licensed generator has two direct dependencies and uses GitHub Actions trusted publishing with tests before release. GitHub lists seven advisories across companion packages, and their affected ranges exclude aligned 6.2.8 versions. March fixes shipped on disclosure dates, and 6.2.6 addressed an incomplete URL-fetch fix in October. The missing OpenSSF Scorecard and security policy, plus uncertainty about who can cut releases, widen the range.

## Good

- It ships an embeddable WYSIWYG template designer and form UI, which no other generator in this category offers.
- The same template JSON generates PDFs in both the browser and Node, with typed TypeScript APIs.
- It covers many field types, including tables, barcodes as vectors, SVG, images, CMYK colours and custom fonts, and plugins can add more.
- Development is very active: 520 commits and 35 npm versions in the last year, with detailed release notes.

## Bad

- Every element needs an absolute position and size, so documents with dynamic, flowing content are awkward to build.
- Minor 6.x releases often change rendered output or Designer behaviour, such as barcodes, line breaks, table page breaks and theme colours.
- Use is still small next to its peers, at about 17 dependent repos, and there are few independent reviews.
- Some reviewers say the documentation for properties and plugins is thin, and that type errors in `inputs` are hard to trace.

## The numbers

- Downloads, 4 weeks: 1.2M
- In a year: ×5.3
- GitHub stars: 5.1k
- Commits, 12 months: 520
- Last npm release: Oct 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/pdfme/pdfme
- npm: https://www.npmjs.com/package/@pdfme/generator

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
