Hopding/pdf-lib
Create and modify PDF documents in any JavaScript environment observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3285
- days_rel: n/a
- days_push: 777
- n_releases_24m: 0
Adoption not part of the score
8605 stars · 911 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
pdf-lib is a pure JavaScript/TypeScript library for creating and modifying PDF documents in any JavaScript runtime, including Node, browsers, Deno, and React Native. It supports drawing text, images, and vector graphics, embedding fonts and pages, splitting/merging documents, and creating, filling, and flattening PDF forms.
Use cases
- generate pdf invoices from javascript
- merge multiple pdfs into one
- split a pdf into separate pages
- fill pdf form fields programmatically
- add text and images to an existing pdf
- embed custom fonts in a pdf
- flatten pdf forms in the browser
- copy pages between pdf documents
When to choose
- you need to create or edit PDFs in any JavaScript environment without native dependencies
- you need to fill, create, or flatten PDF forms
- you need to split, merge, or copy pages between PDFs
- you want a pure JS library that works in browser, Node, Deno, or React Native
When to avoid
- you need to read or extract text content from PDFs (pdf-lib focuses on creation and modification, not text extraction)
- you need to handle encrypted PDFs (support is limited)
- you need server-side rendering of HTML to PDF
- you need advanced layout engines like LaTeX-quality typesetting
Facets
library · maturity maintenance
pdf parser serialization pdf files web-development developer-tools browser cross-platform cli pdf-generation pdf-manipulation form-filling typescript no-native-dependencies react-native nodejs deno web-server
4 sources
- readme: https://github.com/Hopding/pdf-lib · fetched 2026-08-28 · ed6c328fb7d2
- homepage: https://pdf-lib.js.org · fetched 2026-08-29 · 3a567ebd3864
- site_page: https://pdf-lib.js.org/docs/api · fetched 2026-08-29 · 47a324c10413
- site_page: https://pdf-lib.js.org/docs/help · fetched 2026-08-29 · 5792fe024b5a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Hopding/pdf-lib | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem