LibPDF

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

Beta Software: LibPDF is under active development and APIs may change between minor versions, but we use it in production at Documenso and consider it ready for real-world use.

Why LibPDF?

LibPDF was born from frustration. At Documenso, we found ourselves wrestling with the JavaScript PDF ecosystem:

  • PDF.js is excellent for rendering, but it’s read-only
  • pdf-lib has a great API, but chokes on slightly malformed documents
  • pdfkit only generates, no parsing at all

We kept adding workarounds. A patch here for a malformed xref table. A hack there for an encrypted document. Eventually, we decided to b…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help