Elestia Open Source Ratings
6.9

pdfme

Reasonable, with limits. 7th of 9 PDF libraries.

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.

WebsiteGitHubnpm

Scores

Overall6.9

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 6.0, likely 5.0 to 7.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, likely 6.5 to 8.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 many4.2

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.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, likely 3.2 to 5.6

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 lot7.1

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 5.0 to 7.5

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, likely 7.0 to 9.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 time7.1

Will it still be a good choice in two years?

Claude Opus 5.5: 6.5, likely 5.0 to 8.0

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.

  • github commitsLastYear: 520 commits; 60 contributors
  • github openIssues/closedIssues: 39 open vs 428 closed
  • github.com/pdfme/pdfme: README lists sponsors including Datadog and Famly, plus paid feature work
  • github.com/pdfme/pdfme/releases: Upgrade notes in minor releases change rendering and Designer behaviour

GPT-6.2 Sol: 7.7, likely 6.4 to 8.8

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 widely3.6

How many use it, and is that growing?

Claude Opus 5.5: 3.5, likely 2.5 to 4.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.

  • npm downloadsLast4Weeks: 1,169,449 vs 221,546 a year ago (ratio 5.3)
  • dependents: 17 repos, 4 packages
  • bluesky posts: 3 posts, mostly bots
  • github stars: 5,078 stars

GPT-6.2 Sol: 3.7, likely 2.3 to 5.1

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.

  • npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: The generator's install growth exceeded the catalog baseline.
  • dependents.repos, dependents.packages, peers: Tracked generator dependents are far below most peers.
  • github.stars, bluesky.posts: The shared repository has 5,078 stars and three recent Bluesky links.
Vouched for4.2

Who stands behind it being good?

Claude Opus 5.5: 3.5, likely 2.0 to 5.0

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, likely 3.3 to 6.2

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.

Safe7.2

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.5

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.

  • advisories total: 0 advisories for @pdfme/generator
  • npm dependencies: 2 direct dependencies
  • github.com/pdfme/pdfme/releases: 6.2.6 fixed low-severity GHSA-2rg9-wxfw-wrr7 in @pdfme/common
  • scorecard: No Scorecard data

GPT-6.2 Sol: 7.4, likely 6.1 to 8.6

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

npm downloads, 4 weeks
1.2M ×5.3 in a year
GitHub stars
5.1k
Commits, 12 months
520
npm version
6.2.8 Oct 2026
Versions, 12 months
35
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (pdfme/pdfme), npm (@pdfme/generator), OSV and the OpenSSF Scorecard.

PDF libraries

  1. 8.7PDF.js
  2. 7.6PDFKit
  3. 7.4React-PDF viewer
  4. 7.4unpdf
  5. 7.3React-pdf renderer
  6. 7.2pdfmake
  7. 6.9pdfme
  8. 6.4jsPDF
  9. 4.9pdf-lib
Compare all 9 on six scores