# LibPDF-js/core

A modern PDF library for TypeScript. Parse, modify, and generate PDFs with a clean, intuitive API.

Repository: https://github.com/LibPDF-js/core
Canonical: https://ross.abutalabs.com/products/libpdf-js-core
Homepage: https://libpdf.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: digital-signature, document, esign, generator, parser, pdf, pdf-document, pdf-generator, pkcs7, signing, typescript, pades, pdf-parsing
Last push: 2026-08-24T06:55:00+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 91, longevity 16
- inputs: {"age_days": 234, "days_push": 9, "days_rel": 62, "gap_med": 1, "n_releases_24m": 24}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1803, forks 63 (observed 2026-08-28T04:05:38.199412+00:00)

## What it is
LibPDF is a modern TypeScript PDF library for parsing, modifying, generating, and signing PDF documents. It combines lenient parsing (like PDF.js), an intuitive API (like pdf-lib), and features such as encryption, PAdES digital signatures, form filling, and incremental saves.

## Use cases
- parse pdfs in typescript
- generate pdf documents from scratch
- sign pdfs with digital certificates
- fill and flatten pdf form fields
- merge or split pdf files
- extract text with positions from pdfs
- decrypt and encrypt password-protected pdfs
- append changes to signed pdfs without invalidating signatures

## When to choose
- you need both parsing and generation in one TypeScript library
- you must handle malformed or encrypted PDFs other libraries reject
- you need PAdES digital signatures or incremental saves that preserve signatures
- you want form filling, flattening, attachments, or font embedding

## When to avoid
- you only need to render PDFs in a browser (use PDF.js)
- you need stable, frozen APIs - the library is beta and APIs may change
- you need PDF 2.0 write support, which is not yet implemented

## Facets
- artifact type: library
- maturity: active
- function: pdf, parser, serialization, cryptography
- domain: pdf, files, developer-tools, web-development
- platform: bun, browser, cross-platform
- tags: pdf-generation, digital-signatures, pades, form-filling, encryption, text-extraction, incremental-saves, typescript-native, nodejs, typescript

## Member repositories
- LibPDF-js/core (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:38.199412+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-30T03:21:51.482279+00:00, confidence not recorded.
  - readme: https://github.com/LibPDF-js/core (fetched 2026-08-28T04:05:38.199412+00:00, sha e9301e5d1972)
  - homepage: https://libpdf.dev (fetched 2026-08-29T11:00:57.039846+00:00, sha d4a577c59153)
  - site_page: https://libpdf.documenso.com/docs (fetched 2026-08-29T11:00:57.049625+00:00, sha b22d1d6f2263)
  - site_page: https://libpdf.documenso.com/docs/api (fetched 2026-08-29T11:00:57.051747+00:00, sha ac89cd6b5140)
- Data as of 2026-08-30T08:39:29.467469+00:00.
